public enum CompareType extends Enum<CompareType> implements org.eclipse.emf.common.util.Enumerator
RulePackage.getCompareType()
Enum Constant and Description |
---|
EQUALS
The 'EQUALS' literal object.
|
NOT_EQUALS
The 'NOT EQUALS' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
EQUALS_VALUE
The 'EQUALS' literal value.
|
static int |
NOT_EQUALS_VALUE
The 'NOT EQUALS' literal value.
|
static List<CompareType> |
VALUES
A public read-only list of all the 'Compare Type' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static CompareType |
get(int value)
Returns the 'Compare Type' literal with the specified integer value.
|
static CompareType |
get(String literal)
Returns the 'Compare Type' literal with the specified literal value.
|
static CompareType |
getByName(String name)
Returns the 'Compare 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 CompareType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompareType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompareType EQUALS
EQUALS_VALUE
public static final CompareType NOT_EQUALS
NOT_EQUALS_VALUE
public static final int EQUALS_VALUE
If the meaning of 'EQUALS' literal object isn't clear, there really should be more of a description here...
EQUALS
,
Constant Field Valuespublic static final int NOT_EQUALS_VALUE
If the meaning of 'NOT EQUALS' literal object isn't clear, there really should be more of a description here...
NOT_EQUALS
,
Constant Field Valuespublic static final List<CompareType> VALUES
public static CompareType[] values()
for (CompareType c : CompareType.values()) System.out.println(c);
public static CompareType 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 CompareType get(String literal)
literal
- the literal.null
.public static CompareType getByName(String name)
name
- the name.null
.public static CompareType get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public String toString()
toString
in class Enum<CompareType>
Copyright © 2019. All rights reserved.