public enum AggregationKind extends java.lang.Enum<AggregationKind> implements org.eclipse.emf.common.util.Enumerator
InformationPackage.getAggregationKind()| Enum Constant and Description |
|---|
AGGREGATION
The 'AGGREGATION' literal object.
|
ASSOCIATION
The 'ASSOCIATION' literal object.
|
COMPOSITION
The 'COMPOSITION' literal object.
|
UNSET
The 'UNSET' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
AGGREGATION_VALUE
The 'AGGREGATION' literal value.
|
static int |
ASSOCIATION_VALUE
The 'ASSOCIATION' literal value.
|
static int |
COMPOSITION_VALUE
The 'COMPOSITION' literal value.
|
static int |
UNSET_VALUE
The 'UNSET' literal value.
|
static java.util.List<AggregationKind> |
VALUES
A public read-only list of all the 'Aggregation Kind' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static AggregationKind |
get(int value)
Returns the 'Aggregation Kind' literal with the specified integer value.
|
static AggregationKind |
get(java.lang.String literal)
Returns the 'Aggregation Kind' literal with the specified literal value.
|
static AggregationKind |
getByName(java.lang.String name)
Returns the 'Aggregation Kind' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static AggregationKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AggregationKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AggregationKind UNSET
UNSET_VALUEpublic static final AggregationKind ASSOCIATION
ASSOCIATION_VALUEpublic static final AggregationKind AGGREGATION
AGGREGATION_VALUEpublic static final AggregationKind COMPOSITION
COMPOSITION_VALUEpublic static final int UNSET_VALUE
If the meaning of 'UNSET' literal object isn't clear, there really should be more of a description here...
UNSET,
Constant Field Valuespublic static final int ASSOCIATION_VALUE
If the meaning of 'ASSOCIATION' literal object isn't clear, there really should be more of a description here...
ASSOCIATION,
Constant Field Valuespublic static final int AGGREGATION_VALUE
If the meaning of 'AGGREGATION' literal object isn't clear, there really should be more of a description here...
AGGREGATION,
Constant Field Valuespublic static final int COMPOSITION_VALUE
If the meaning of 'COMPOSITION' literal object isn't clear, there really should be more of a description here...
COMPOSITION,
Constant Field Valuespublic static final java.util.List<AggregationKind> VALUES
public static AggregationKind[] values()
for (AggregationKind c : AggregationKind.values()) System.out.println(c);
public static AggregationKind 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 static AggregationKind get(java.lang.String literal)
literal - the literal.null.public static AggregationKind getByName(java.lang.String name)
name - the name.null.public static AggregationKind get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<AggregationKind>