com.evdb.javaapi.data
Enum Link.LinkType

java.lang.Object
  extended by java.lang.Enum<Link.LinkType>
      extended by com.evdb.javaapi.data.Link.LinkType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Link.LinkType>
Enclosing class:
Link

public static enum Link.LinkType
extends java.lang.Enum<Link.LinkType>


Enum Constant Summary
BLOG
           
BOX_OFFICE
           
CHAT
           
INFO
           
NEWS
           
OFFICIAL_SITE
           
OTHER
           
PODCAST
           
REVIEW
           
SPONSOR
           
TICKETS
           
WEBCAST
           
WEBSITE
           
 
Method Summary
 int asInteger()
           
static Link.LinkType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Link.LinkType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INFO

public static final Link.LinkType INFO

BOX_OFFICE

public static final Link.LinkType BOX_OFFICE

NEWS

public static final Link.LinkType NEWS

REVIEW

public static final Link.LinkType REVIEW

SPONSOR

public static final Link.LinkType SPONSOR

TICKETS

public static final Link.LinkType TICKETS

CHAT

public static final Link.LinkType CHAT

BLOG

public static final Link.LinkType BLOG

OFFICIAL_SITE

public static final Link.LinkType OFFICIAL_SITE

PODCAST

public static final Link.LinkType PODCAST

WEBCAST

public static final Link.LinkType WEBCAST

WEBSITE

public static final Link.LinkType WEBSITE

OTHER

public static final Link.LinkType OTHER
Method Detail

values

public static Link.LinkType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Link.LinkType c : Link.LinkType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Link.LinkType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

asInteger

public int asInteger()


Copyright © 2007 Eventful Inc. All Rights Reserved.