public enum AggregationKind extends java.lang.Enum<AggregationKind>
Enum Constant and Description |
---|
KINDISAGGREGATION |
KINDISASSOCIATION |
KINDISCOMPOSITION |
Modifier and Type | Field and Description |
---|---|
static int |
KINDISAGGREGATION_VALUE |
static int |
KINDISASSOCIATION_VALUE |
static int |
KINDISCOMPOSITION_VALUE |
static java.util.List<AggregationKind> |
VALUES |
Modifier and Type | Method and Description |
---|---|
static AggregationKind |
get(int value) |
static AggregationKind |
get(java.lang.String literal) |
static AggregationKind |
getByName(java.lang.String name) |
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString() |
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 KINDISASSOCIATION
public static final AggregationKind KINDISAGGREGATION
public static final AggregationKind KINDISCOMPOSITION
public static final int KINDISASSOCIATION_VALUE
public static final int KINDISAGGREGATION_VALUE
public static final int KINDISCOMPOSITION_VALUE
public 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)
public static AggregationKind getByName(java.lang.String name)
public static AggregationKind get(int value)
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<AggregationKind>