public enum ItemTypeImpl extends java.lang.Enum<ItemTypeImpl> implements IItemTypeImpl
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
generateId(IItem instance) |
IItemTypeImpl |
getParent() |
static IItemTypeImpl[] |
getValues() |
void |
init(IItem instance) |
boolean |
validate(IItem instance) |
static ItemTypeImpl |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemTypeImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemTypeImpl ITEM
public static final ItemTypeImpl AGENT
public static final ItemTypeImpl USER
public static ItemTypeImpl[] values()
for (ItemTypeImpl c : ItemTypeImpl.values()) System.out.println(c);
public static ItemTypeImpl 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 IItemTypeImpl getParent()
public boolean validate(IItem instance)
validate in interface IItemTypeImplpublic void init(IItem instance)
init in interface IItemTypeImplpublic java.lang.String generateId(IItem instance)
generateId in interface IItemTypeImplpublic static IItemTypeImpl[] getValues()