com.vodafone360.people.datatypes
Enum ItemList.Type
java.lang.Object
java.lang.Enum<ItemList.Type>
com.vodafone360.people.datatypes.ItemList.Type
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ItemList.Type>
- Enclosing class:
- ItemList
public static enum ItemList.Type
- extends java.lang.Enum<ItemList.Type>
Enumeration of data-types items that can be returned as an ItemList.
Method Summary |
static ItemList.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ItemList.Type[] |
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 |
group_privacy
public static final ItemList.Type group_privacy
status_msg
public static final ItemList.Type status_msg
contact_group_relation
public static final ItemList.Type contact_group_relation
contact_group_relations
public static final ItemList.Type contact_group_relations
long_value
public static final ItemList.Type long_value
values
public static ItemList.Type[] 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 (ItemList.Type c : ItemList.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ItemList.Type 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
JavaDoc