public static enum Entity.GenericParameter extends java.lang.Enum<Entity.GenericParameter> implements io.spine.reflect.GenericTypeIndex<Entity>
Enum Constant and Description |
---|
ID
The index of the declaration of the generic parameter type
<I> in
the Entity interface. |
STATE
The index of the declaration of the generic parameter type
<S>
in the Entity interface. |
Modifier and Type | Method and Description |
---|---|
int |
index() |
static Entity.GenericParameter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Entity.GenericParameter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Entity.GenericParameter ID
<I>
in
the Entity
interface.public static final Entity.GenericParameter STATE
<S>
in the Entity
interface.public static Entity.GenericParameter[] values()
for (Entity.GenericParameter c : Entity.GenericParameter.values()) System.out.println(c);
public static Entity.GenericParameter 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 int index()
index
in interface io.spine.reflect.GenericTypeIndex<Entity>