| Modifier and Type | Method | Description |
|---|---|---|
static ItemType |
resolve(java.lang.String alias) |
Returns an
ItemType with a value represented
by the specified String. |
java.lang.String |
toString() |
|
static ItemType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ItemType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemType SINGLE
public static final ItemType ARRAY
public static final ItemType LIST
public static final ItemType MAP
public static final ItemType SET
public static final ItemType PROPERTIES
public static ItemType[] values()
for (ItemType c : ItemType.values()) System.out.println(c);
public static ItemType 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 toString()
toString in class java.lang.Enum<ItemType>public static ItemType resolve(java.lang.String alias)
ItemType with a value represented
by the specified String.alias - the item type as a StringItemType, may be nullCopyright © 2008–2018 The Aspectran Project. All rights reserved.