public enum ItemDataType extends java.lang.Enum<ItemDataType>
Enum Constant and Description |
---|
CALENDAR |
CONTACTS |
EMAIL |
FOLDER |
NOTES |
TASKS |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
asXmlValue() |
static ItemDataType |
fromIntValue(int value) |
static ItemDataType |
getValue(java.lang.String containerType) |
static ItemDataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemDataType EMAIL
public static final ItemDataType CALENDAR
public static final ItemDataType CONTACTS
public static final ItemDataType TASKS
public static final ItemDataType NOTES
public static final ItemDataType FOLDER
public static ItemDataType[] values()
for (ItemDataType c : ItemDataType.values()) System.out.println(c);
public static ItemDataType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String asXmlValue()
public static ItemDataType fromIntValue(int value)
public static ItemDataType getValue(java.lang.String containerType)
Copyright © 2021. All Rights Reserved.