public enum LinkKind extends Enum<LinkKind> implements Enumerator
DoorsPackage.getLinkKind()
Enum Constant and Description |
---|
MANY_TO_MANY_LITERAL
The 'Many To Many' literal object.
|
MANY_TO_ONE_LITERAL
The 'Many To One' literal object.
|
ONE_TO_MANY_LITERAL
The 'One To Many' literal object.
|
ONE_TO_ONE_LITERAL
The 'One To One' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
MANY_TO_MANY
The 'Many To Many' literal value.
|
static int |
MANY_TO_ONE
The 'Many To One' literal value.
|
static int |
ONE_TO_MANY
The 'One To Many' literal value.
|
static int |
ONE_TO_ONE
The 'One To One' literal value.
|
static List<LinkKind> |
VALUES
A public read-only list of all the 'Link Kind' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static LinkKind |
get(int value)
Returns the 'Link Kind' literal with the specified integer value.
|
static LinkKind |
get(String literal)
Returns the 'Link Kind' literal with the specified literal value.
|
static LinkKind |
getByName(String name)
Returns the 'Link Kind' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static LinkKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinkKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkKind MANY_TO_MANY_LITERAL
MANY_TO_MANY
public static final LinkKind MANY_TO_ONE_LITERAL
MANY_TO_ONE
public static final LinkKind ONE_TO_MANY_LITERAL
ONE_TO_MANY
public static final LinkKind ONE_TO_ONE_LITERAL
ONE_TO_ONE
public static final int MANY_TO_MANY
MANY_TO_MANY_LITERAL
,
Constant Field Valuespublic static final int MANY_TO_ONE
MANY_TO_ONE_LITERAL
,
Constant Field Valuespublic static final int ONE_TO_MANY
ONE_TO_MANY_LITERAL
,
Constant Field Valuespublic static final int ONE_TO_ONE
ONE_TO_ONE_LITERAL
,
Constant Field Valuespublic static LinkKind[] values()
for (LinkKind c : LinkKind.values()) System.out.println(c);
public static LinkKind 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 static LinkKind get(String literal)
public static LinkKind getByName(String name)
public static LinkKind get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator