|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ContainmentType> org.eclipse.emf.emfstore.internal.server.model.versioning.operations.ContainmentType
public enum ContainmentType
A representation of the literals of the enumeration ' Containment Type', and utility methods for working with them.
OperationsPackage.getContainmentType()
Enum Constant Summary | |
---|---|
CONTAINER
The 'CONTAINER' literal object. |
|
CONTAINMENT
The 'CONTAINMENT' literal object. |
|
NONE
The 'NONE' literal object. |
Field Summary | |
---|---|
static int |
CONTAINER_VALUE
The 'CONTAINER' literal value. |
static int |
CONTAINMENT_VALUE
The 'CONTAINMENT' literal value. |
static int |
NONE_VALUE
The 'NONE' literal value. |
static List<ContainmentType> |
VALUES
A public read-only list of all the 'Containment Type' enumerators. |
Method Summary | |
---|---|
static ContainmentType |
get(int value)
Returns the 'Containment Type' literal with the specified integer value. |
static ContainmentType |
get(String literal)
Returns the 'Containment Type' literal with the specified literal value. |
static ContainmentType |
getByName(String name)
Returns the 'Containment 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 ContainmentType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ContainmentType[] |
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 ContainmentType NONE
NONE_VALUE
public static final ContainmentType CONTAINER
CONTAINER_VALUE
public static final ContainmentType CONTAINMENT
CONTAINMENT_VALUE
Field Detail |
---|
public static final int NONE_VALUE
If the meaning of 'NONE' literal object isn't clear, there really should be more of a description here...
NONE
,
Constant Field Valuespublic static final int CONTAINER_VALUE
If the meaning of 'CONTAINER' literal object isn't clear, there really should be more of a description here...
CONTAINER
,
Constant Field Valuespublic static final int CONTAINMENT_VALUE
If the meaning of 'CONTAINMENT' literal object isn't clear, there really should be more of a description here...
CONTAINMENT
,
Constant Field Valuespublic static final List<ContainmentType> VALUES
Method Detail |
---|
public static ContainmentType[] values()
for (ContainmentType c : ContainmentType.values()) System.out.println(c);
public static ContainmentType 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 ContainmentType get(String literal)
public static ContainmentType getByName(String name)
public static ContainmentType 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<ContainmentType>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |