|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<InheritanceKind>
org.eclipse.gmt.modisco.java.InheritanceKind
public enum InheritanceKind
A representation of the literals of the enumeration 'Inheritance Kind', and utility methods for working with them.
JavaPackage.getInheritanceKind()
Enum Constant Summary | |
---|---|
ABSTRACT
The 'Abstract' literal object. |
|
FINAL
The 'Final' literal object. |
|
NONE
The 'None' literal object. |
Field Summary | |
---|---|
static int |
ABSTRACT_VALUE
The 'Abstract' literal value. |
static int |
FINAL_VALUE
The 'Final' literal value. |
static int |
NONE_VALUE
The 'None' literal value. |
static java.util.List<InheritanceKind> |
VALUES
A public read-only list of all the 'Inheritance Kind' enumerators. |
Method Summary | |
---|---|
static InheritanceKind |
get(int value)
Returns the 'Inheritance Kind' literal with the specified integer value. |
static InheritanceKind |
get(java.lang.String literal)
Returns the 'Inheritance Kind' literal with the specified literal value. |
static InheritanceKind |
getByName(java.lang.String name)
Returns the 'Inheritance Kind' 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 InheritanceKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static InheritanceKind[] |
values()
Returns an array containing the constants of this enum type, in the order they're 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 InheritanceKind NONE
NONE_VALUE
public static final InheritanceKind ABSTRACT
ABSTRACT_VALUE
public static final InheritanceKind FINAL
FINAL_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 ABSTRACT_VALUE
If the meaning of 'Abstract' literal object isn't clear, there really should be more of a description here...
ABSTRACT
,
Constant Field Valuespublic static final int FINAL_VALUE
If the meaning of 'Final' literal object isn't clear, there really should be more of a description here...
FINAL
,
Constant Field Valuespublic static final java.util.List<InheritanceKind> VALUES
Method Detail |
---|
public static final InheritanceKind[] values()
for(InheritanceKind c : InheritanceKind.values()) System.out.println(c);
public static InheritanceKind 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 namepublic static InheritanceKind get(java.lang.String literal)
public static InheritanceKind getByName(java.lang.String name)
public static InheritanceKind get(int value)
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<InheritanceKind>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |