public enum CompareType extends Enum<CompareType> implements org.eclipse.emf.common.util.Enumerator
StorePackage.getCompareType()| Enum Constant and Description |
|---|
ADD
The 'ADD' literal object.
|
ALL
The 'ALL' literal object.
|
DELETE
The 'DELETE' literal object.
|
MODIFY
The 'MODIFY' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ADD_VALUE
The 'ADD' literal value.
|
static int |
ALL_VALUE
The 'ALL' literal value.
|
static int |
DELETE_VALUE
The 'DELETE' literal value.
|
static int |
MODIFY_VALUE
The 'MODIFY' 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 ALL
ALL_VALUEpublic static final CompareType ADD
ADD_VALUEpublic static final CompareType MODIFY
MODIFY_VALUEpublic static final CompareType DELETE
DELETE_VALUEpublic static final int ALL_VALUE
If the meaning of 'ALL' literal object isn't clear, there really should be more of a description here...
ALL,
Constant Field Valuespublic static final int ADD_VALUE
If the meaning of 'ADD' literal object isn't clear, there really should be more of a description here...
ADD,
Constant Field Valuespublic static final int MODIFY_VALUE
If the meaning of 'MODIFY' literal object isn't clear, there really should be more of a description here...
MODIFY,
Constant Field Valuespublic static final int DELETE_VALUE
If the meaning of 'DELETE' literal object isn't clear, there really should be more of a description here...
DELETE,
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.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<CompareType>Copyright © 2016 OpenSource BIM. All rights reserved.