public enum ObjectState extends Enum<ObjectState> implements org.eclipse.emf.common.util.Enumerator
StorePackage.getObjectState()| Enum Constant and Description |
|---|
ACTIVE
The 'ACTIVE' literal object.
|
DELETED
The 'DELETED' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
The 'ACTIVE' literal value.
|
static int |
DELETED_VALUE
The 'DELETED' literal value.
|
static List<ObjectState> |
VALUES
A public read-only list of all the 'Object State' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static ObjectState |
get(int value)
Returns the 'Object State' literal with the specified integer value.
|
static ObjectState |
get(String literal)
Returns the 'Object State' literal with the specified literal value.
|
static ObjectState |
getByName(String name)
Returns the 'Object State' 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 ObjectState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectState ACTIVE
ACTIVE_VALUEpublic static final ObjectState DELETED
DELETED_VALUEpublic static final int ACTIVE_VALUE
If the meaning of 'ACTIVE' literal object isn't clear, there really should be more of a description here...
ACTIVE,
Constant Field Valuespublic static final int DELETED_VALUE
If the meaning of 'DELETED' literal object isn't clear, there really should be more of a description here...
DELETED,
Constant Field Valuespublic static final List<ObjectState> VALUES
public static ObjectState[] values()
for (ObjectState c : ObjectState.values()) System.out.println(c);
public static ObjectState 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 ObjectState get(String literal)
literal - the literal.null.public static ObjectState getByName(String name)
name - the name.null.public static ObjectState 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<ObjectState>Copyright © 2018 OpenSource BIM. All rights reserved.