public enum Comparator extends Enum<Comparator> implements org.eclipse.emf.common.util.Enumerator
SofiaPackage.getComparator()| Enum Constant and Description |
|---|
DISTINCT
The 'Distinct' literal object.
|
EQUAL
The 'Equal' literal object.
|
GREATER_THAN
The 'Greater Than' literal object.
|
GREATER_THAN_OR_EQUAL
The 'Greater Than Or Equal' literal object.
|
IDENTIC
The 'Identic' literal object.
|
SMALLER_THAN
The 'Smaller Than' literal object.
|
SMALLER_THAN_OR_EQUAL
The 'Smaller Than Or Equal' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DISTINCT_VALUE
The 'Distinct' literal value.
|
static int |
EQUAL_VALUE
The 'Equal' literal value.
|
static int |
GREATER_THAN_OR_EQUAL_VALUE
The 'Greater Than Or Equal' literal value.
|
static int |
GREATER_THAN_VALUE
The 'Greater Than' literal value.
|
static int |
IDENTIC_VALUE
The 'Identic' literal value.
|
static int |
SMALLER_THAN_OR_EQUAL_VALUE
The 'Smaller Than Or Equal' literal value.
|
static int |
SMALLER_THAN_VALUE
The 'Smaller Than' literal value.
|
static List<Comparator> |
VALUES
A public read-only list of all the 'Comparator' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static Comparator |
get(int value)
Returns the 'Comparator' literal with the specified integer value.
|
static Comparator |
get(String literal)
Returns the 'Comparator' literal with the specified literal value.
|
static Comparator |
getByName(String name)
Returns the 'Comparator' 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 Comparator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Comparator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Comparator GREATER_THAN
GREATER_THAN_VALUEpublic static final Comparator SMALLER_THAN
SMALLER_THAN_VALUEpublic static final Comparator GREATER_THAN_OR_EQUAL
GREATER_THAN_OR_EQUAL_VALUEpublic static final Comparator SMALLER_THAN_OR_EQUAL
SMALLER_THAN_OR_EQUAL_VALUEpublic static final Comparator EQUAL
EQUAL_VALUEpublic static final Comparator DISTINCT
DISTINCT_VALUEpublic static final Comparator IDENTIC
IDENTIC_VALUEpublic static final int GREATER_THAN_VALUE
If the meaning of 'Greater Than' literal object isn't clear, there really should be more of a description here...
GREATER_THAN,
Constant Field Valuespublic static final int SMALLER_THAN_VALUE
If the meaning of 'Smaller Than' literal object isn't clear, there really should be more of a description here...
SMALLER_THAN,
Constant Field Valuespublic static final int GREATER_THAN_OR_EQUAL_VALUE
If the meaning of 'Greater Than Or Equal' literal object isn't clear, there really should be more of a description here...
GREATER_THAN_OR_EQUAL,
Constant Field Valuespublic static final int SMALLER_THAN_OR_EQUAL_VALUE
If the meaning of 'Smaller Than Or Equal' literal object isn't clear, there really should be more of a description here...
SMALLER_THAN_OR_EQUAL,
Constant Field Valuespublic static final int EQUAL_VALUE
If the meaning of 'Equal' literal object isn't clear, there really should be more of a description here...
EQUAL,
Constant Field Valuespublic static final int DISTINCT_VALUE
If the meaning of 'Distinct' literal object isn't clear, there really should be more of a description here...
DISTINCT,
Constant Field Valuespublic static final int IDENTIC_VALUE
If the meaning of 'Identic' literal object isn't clear, there really should be more of a description here...
IDENTIC,
Constant Field Valuespublic static final List<Comparator> VALUES
public static Comparator[] values()
for (Comparator c : Comparator.values()) System.out.println(c);
public static Comparator 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 Comparator get(String literal)
literal - the literal.null.public static Comparator getByName(String name)
name - the name.null.public static Comparator 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.Enumeratorpublic String toString()
toString in class Enum<Comparator>Copyright © 2018. All rights reserved.