public enum HierarchyPolicy extends java.lang.Enum<HierarchyPolicy> implements org.eclipse.emf.common.util.Enumerator
NotationPackage.getHierarchyPolicy()| Enum Constant and Description |
|---|
ALWAYS
The 'Always' literal object.
|
CHILD
The 'Child' literal object.
|
PORT
The 'Port' literal object.
|
ROOT
The 'Root' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ALWAYS_VALUE
The 'Always' literal value.
|
static int |
CHILD_VALUE
The 'Child' literal value.
|
static int |
PORT_VALUE
The 'Port' literal value.
|
static int |
ROOT_VALUE
The 'Root' literal value.
|
static java.util.List<HierarchyPolicy> |
VALUES
A public read-only list of all the 'Hierarchy Policy' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static HierarchyPolicy |
get(int value)
Returns the 'Hierarchy Policy' literal with the specified integer value.
|
static HierarchyPolicy |
get(java.lang.String literal)
Returns the 'Hierarchy Policy' literal with the specified literal value.
|
static HierarchyPolicy |
getByName(java.lang.String name)
Returns the 'Hierarchy Policy' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static HierarchyPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HierarchyPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HierarchyPolicy PORT
PORT_VALUEpublic static final HierarchyPolicy ALWAYS
ALWAYS_VALUEpublic static final HierarchyPolicy CHILD
CHILD_VALUEpublic static final HierarchyPolicy ROOT
ROOT_VALUEpublic static final int PORT_VALUE
If the meaning of 'Port' literal object isn't clear, there really should be more of a description here...
PORT,
Constant Field Valuespublic static final int ALWAYS_VALUE
If the meaning of 'Always' literal object isn't clear, there really should be more of a description here...
ALWAYS,
Constant Field Valuespublic static final int CHILD_VALUE
If the meaning of 'Child' literal object isn't clear, there really should be more of a description here...
CHILD,
Constant Field Valuespublic static final int ROOT_VALUE
If the meaning of 'Root' literal object isn't clear, there really should be more of a description here...
ROOT,
Constant Field Valuespublic static final java.util.List<HierarchyPolicy> VALUES
public static HierarchyPolicy[] values()
for (HierarchyPolicy c : HierarchyPolicy.values()) System.out.println(c);
public static HierarchyPolicy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static HierarchyPolicy get(java.lang.String literal)
literal - the literal.null.public static HierarchyPolicy getByName(java.lang.String name)
name - the name.null.public static HierarchyPolicy get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<HierarchyPolicy>