org.eclipse.gmt.modisco.java
Enum InheritanceKind

java.lang.Object
  extended by java.lang.Enum<InheritanceKind>
      extended by org.eclipse.gmt.modisco.java.InheritanceKind
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InheritanceKind>

public enum InheritanceKind
extends java.lang.Enum<InheritanceKind>

A representation of the literals of the enumeration 'Inheritance Kind', and utility methods for working with them.

See Also:
JavaPackage.getInheritanceKind()
Generated:
Model:

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

NONE

public static final InheritanceKind NONE
The 'None' literal object.

See Also:
NONE_VALUE
Generated:
Ordered:

ABSTRACT

public static final InheritanceKind ABSTRACT
The 'Abstract' literal object.

See Also:
ABSTRACT_VALUE
Generated:
Ordered:

FINAL

public static final InheritanceKind FINAL
The 'Final' literal object.

See Also:
FINAL_VALUE
Generated:
Ordered:
Field Detail

NONE_VALUE

public static final int NONE_VALUE
The 'None' literal value.

If the meaning of 'None' literal object isn't clear, there really should be more of a description here...

See Also:
NONE, Constant Field Values
Generated:
Model:
name="none"
Ordered:

ABSTRACT_VALUE

public static final int ABSTRACT_VALUE
The 'Abstract' literal value.

If the meaning of 'Abstract' literal object isn't clear, there really should be more of a description here...

See Also:
ABSTRACT, Constant Field Values
Generated:
Model:
name="abstract"
Ordered:

FINAL_VALUE

public static final int FINAL_VALUE
The 'Final' literal value.

If the meaning of 'Final' literal object isn't clear, there really should be more of a description here...

See Also:
FINAL, Constant Field Values
Generated:
Model:
name="final"
Ordered:

VALUES

public static final java.util.List<InheritanceKind> VALUES
A public read-only list of all the 'Inheritance Kind' enumerators.

Generated:
Method Detail

values

public static final InheritanceKind[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(InheritanceKind c : InheritanceKind.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static InheritanceKind valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

get

public static InheritanceKind get(java.lang.String literal)
Returns the 'Inheritance Kind' literal with the specified literal value.

Generated:

getByName

public static InheritanceKind getByName(java.lang.String name)
Returns the 'Inheritance Kind' literal with the specified name.

Generated:

get

public static InheritanceKind get(int value)
Returns the 'Inheritance Kind' literal with the specified integer value.

Generated:

getValue

public int getValue()

Generated:

getName

public java.lang.String getName()

Generated:

getLiteral

public java.lang.String getLiteral()

Generated:

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<InheritanceKind>
Generated: