public enum TypeDefCategory extends Enum<TypeDefCategory> implements Serializable
| Enum Constant and Description |
|---|
CLASSIFICATION_DEF |
ENTITY_DEF |
RELATIONSHIP_DEF |
UNKNOWN_DEF |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the default description for the type for this enum instance.
|
String |
getName()
Return the default name for this enum instance.
|
int |
getOrdinal()
Return the code for this enum instance
|
String |
toString()
toString() JSON-style
|
static TypeDefCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeDefCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeDefCategory UNKNOWN_DEF
public static final TypeDefCategory CLASSIFICATION_DEF
public static final TypeDefCategory ENTITY_DEF
public static final TypeDefCategory RELATIONSHIP_DEF
public static TypeDefCategory[] values()
for (TypeDefCategory c : TypeDefCategory.values()) System.out.println(c);
public static TypeDefCategory 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 getDescription()
public String toString()
toString in class Enum<TypeDefCategory>Copyright © 2018–2019 ODPi. All rights reserved.