public static enum PObject.Type extends java.lang.Enum<PObject.Type>
Enum Constant and Description |
---|
GROOVY |
JAVA |
JPA_MAPPING_CLASS |
JPALIO_CLASSIC |
JPALIO_STATIC |
STATIC |
Modifier and Type | Method and Description |
---|---|
PObject.TypeFamily |
getFamily() |
java.lang.Long |
getId() |
static PObject.Type |
getType(java.lang.Long id)
Returns type for given id.
|
static PObject.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PObject.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PObject.Type JPALIO_CLASSIC
public static final PObject.Type JPALIO_STATIC
public static final PObject.Type GROOVY
public static final PObject.Type JAVA
public static final PObject.Type JPA_MAPPING_CLASS
public static final PObject.Type STATIC
public static PObject.Type[] values()
for (PObject.Type c : PObject.Type.values()) System.out.println(c);
public static PObject.Type 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.Long getId()
public PObject.TypeFamily getFamily()
public static PObject.Type getType(java.lang.Long id)
id
- Object type id from P_OBJECT_TYPES tablejava.lang.IllegalArgumentException
- If no type defined for given id value