|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<EMFStorePropertyType> org.eclipse.emf.emfstore.internal.common.model.EMFStorePropertyType
public enum EMFStorePropertyType
A representation of the literals of the enumeration 'EMF Store Property Type', and utility methods for working with them.
ModelPackage.getEMFStorePropertyType()
Enum Constant Summary | |
---|---|
LOCAL
The 'Local' literal object. |
|
SHARED
The 'Shared' literal object. |
Field Summary | |
---|---|
static int |
LOCAL_VALUE
The 'Local' literal value. |
static int |
SHARED_VALUE
The 'Shared' literal value. |
static List<EMFStorePropertyType> |
VALUES
A public read-only list of all the 'EMF Store Property Type' enumerators. |
Method Summary | |
---|---|
static EMFStorePropertyType |
get(int value)
Returns the 'EMF Store Property Type' literal with the specified integer value. |
static EMFStorePropertyType |
get(String literal)
Returns the 'EMF Store Property Type' literal with the specified literal value. |
static EMFStorePropertyType |
getByName(String name)
Returns the 'EMF Store Property 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 EMFStorePropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EMFStorePropertyType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final EMFStorePropertyType SHARED
SHARED_VALUE
public static final EMFStorePropertyType LOCAL
LOCAL_VALUE
Field Detail |
---|
public static final int SHARED_VALUE
If the meaning of 'Shared' literal object isn't clear, there really should be more of a description here...
SHARED
,
Constant Field Valuespublic static final int LOCAL_VALUE
If the meaning of 'Local' literal object isn't clear, there really should be more of a description here...
LOCAL
,
Constant Field Valuespublic static final List<EMFStorePropertyType> VALUES
Method Detail |
---|
public static EMFStorePropertyType[] values()
for (EMFStorePropertyType c : EMFStorePropertyType.values()) System.out.println(c);
public static EMFStorePropertyType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static EMFStorePropertyType get(String literal)
public static EMFStorePropertyType getByName(String name)
public static EMFStorePropertyType get(int value)
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<EMFStorePropertyType>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |