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