public enum MergeType extends Enum<MergeType> implements org.eclipse.emf.common.util.Enumerator
VRulerepositoryPackage.getMergeType()| Enum Constant and Description |
|---|
AND
The 'And' literal object.
|
OR
The 'Or' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
AND_VALUE
The 'And' literal value.
|
static int |
OR_VALUE
The 'Or' literal value.
|
static List<MergeType> |
VALUES
A public read-only list of all the 'Merge Type' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static MergeType |
get(int value)
Returns the 'Merge Type' literal with the specified integer value.
|
static MergeType |
get(String literal)
Returns the 'Merge Type' literal with the specified literal value.
|
static MergeType |
getByName(String name)
Returns the 'Merge Type' 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 MergeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MergeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final int AND_VALUE
If the meaning of 'And' literal object isn't clear, there really should be more of a description here...
AND,
Constant Field Valuespublic static final int OR_VALUE
If the meaning of 'Or' literal object isn't clear, there really should be more of a description here...
OR,
Constant Field Valuespublic static MergeType[] values()
for (MergeType c : MergeType.values()) System.out.println(c);
public static MergeType 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 MergeType get(String literal)
literal - the literal.null.public static MergeType getByName(String name)
name - the name.null.public static MergeType get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.EnumeratorCopyright © 2018. All rights reserved.