public static enum EntityId.EntityType extends java.lang.Enum<EntityId.EntityType>
Modifier and Type | Method and Description |
---|---|
static EntityId.EntityType |
forValue(java.lang.String value) |
java.lang.String |
toString() |
static EntityId.EntityType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntityId.EntityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityId.EntityType PERSON
public static final EntityId.EntityType BUSINESS
public static final EntityId.EntityType LOCATION
public static final EntityId.EntityType PHONE
public static EntityId.EntityType[] values()
for (EntityId.EntityType c : EntityId.EntityType.values()) System.out.println(c);
public static EntityId.EntityType 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<EntityId.EntityType>
public static EntityId.EntityType forValue(java.lang.String value)