com.kii.sdk.photocolle
Enum TagType

java.lang.Object
  extended by java.lang.Enum<TagType>
      extended by com.kii.sdk.photocolle.TagType
All Implemented Interfaces:
Serializable, Comparable<TagType>

public enum TagType
extends Enum<TagType>

The type of a tag.


Enum Constant Summary
EVENT
          tag type for event.
FAVORITE
          tag type for favorite.
PERSON
          tag type for person.
PLACEMENT
          tag type for placement.
YEAR_MONTH
          tag type for years.
 
Method Summary
 int getNumber()
          Get number of type.
static TagType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TagType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PERSON

public static final TagType PERSON
tag type for person.


EVENT

public static final TagType EVENT
tag type for event.


FAVORITE

public static final TagType FAVORITE
tag type for favorite.


PLACEMENT

public static final TagType PLACEMENT
tag type for placement.


YEAR_MONTH

public static final TagType YEAR_MONTH
tag type for years.

Method Detail

values

public static TagType[] 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 (TagType c : TagType.values())
    System.out.println(c);

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

valueOf

public static TagType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getNumber

public int getNumber()
Get number of type.

Returns:
number of type.