public enum PrimitiveDefCategory extends Enum<PrimitiveDefCategory> implements Serializable
| Modifier and Type | Method and Description |
|---|---|
String |
getGUID()
Return the guid for this primitive type.
|
String |
getJavaClassName()
Return the name of the java class that can be used to store properties of this type.
|
String |
getName()
Return the name of type which can be used for text-based interchange formats such as JSON or XML.
|
int |
getOrdinal()
Return the numeric code for the primitive type which can be used in optimized data flows.
|
String |
toString()
toString() JSON-style
|
static PrimitiveDefCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveDefCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimitiveDefCategory OM_PRIMITIVE_TYPE_UNKNOWN
public static final PrimitiveDefCategory OM_PRIMITIVE_TYPE_BOOLEAN
public static final PrimitiveDefCategory OM_PRIMITIVE_TYPE_BYTE
public static final PrimitiveDefCategory OM_PRIMITIVE_TYPE_CHAR
public static final PrimitiveDefCategory OM_PRIMITIVE_TYPE_SHORT
public static final PrimitiveDefCategory OM_PRIMITIVE_TYPE_INT
public static final PrimitiveDefCategory OM_PRIMITIVE_TYPE_LONG
public static final PrimitiveDefCategory OM_PRIMITIVE_TYPE_FLOAT
public static final PrimitiveDefCategory OM_PRIMITIVE_TYPE_DOUBLE
public static final PrimitiveDefCategory OM_PRIMITIVE_TYPE_BIGINTEGER
public static final PrimitiveDefCategory OM_PRIMITIVE_TYPE_BIGDECIMAL
public static final PrimitiveDefCategory OM_PRIMITIVE_TYPE_STRING
public static final PrimitiveDefCategory OM_PRIMITIVE_TYPE_DATE
public static PrimitiveDefCategory[] values()
for (PrimitiveDefCategory c : PrimitiveDefCategory.values()) System.out.println(c);
public static PrimitiveDefCategory valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getOrdinal()
public String getName()
public String getJavaClassName()
public String getGUID()
public String toString()
toString in class Enum<PrimitiveDefCategory>Copyright © 2018–2020 ODPi. All rights reserved.