public enum RelationKind extends Enum<RelationKind> implements Enumerator
Enum Constant and Description |
---|
ADDRESSES |
CONNECTS_FROM |
CONNECTS_INPUT |
CONNECTS_OUTPUT |
CONNECTS_TO |
EMBEDDED_BY |
EMBEDS |
EXPANDS_FROM |
EXPANDS_TO |
IS_ADDRESSED_BY |
Modifier and Type | Method and Description |
---|---|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
static RelationKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelationKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelationKind EXPANDS_TO
public static final RelationKind EXPANDS_FROM
public static final RelationKind CONNECTS_OUTPUT
public static final RelationKind CONNECTS_FROM
public static final RelationKind CONNECTS_INPUT
public static final RelationKind CONNECTS_TO
public static final RelationKind EMBEDS
public static final RelationKind EMBEDDED_BY
public static final RelationKind ADDRESSES
public static final RelationKind IS_ADDRESSED_BY
public static RelationKind[] values()
for (RelationKind c : RelationKind.values()) System.out.println(c);
public static RelationKind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getLiteral()
getLiteral
in interface Enumerator
public String getName()
getName
in interface Enumerator
public int getValue()
getValue
in interface Enumerator