org.eclipse.gmf.codegen.gmfgen
Enum GenNavigatorReferenceType

java.lang.Object
  extended by java.lang.Enum<GenNavigatorReferenceType>
      extended by org.eclipse.gmf.codegen.gmfgen.GenNavigatorReferenceType
All Implemented Interfaces:
Serializable, Comparable<GenNavigatorReferenceType>, org.eclipse.emf.common.util.Enumerator

public enum GenNavigatorReferenceType
extends Enum<GenNavigatorReferenceType>
implements org.eclipse.emf.common.util.Enumerator

A representation of the literals of the enumeration 'Gen Navigator Reference Type', and utility methods for working with them.

See Also:
GMFGenPackage.getGenNavigatorReferenceType()
Generated
Model Properties:

Enum Constant Summary
CHILDREN_LITERAL
          The 'Children' literal object.
IN_SOURCE_LITERAL
          The 'In source' literal object.
OUT_TARGET_LITERAL
          The 'Out target' literal object.
 
Field Summary
static int CHILDREN
          The 'Children' literal value.
static int IN_SOURCE
          The 'In source' literal value.
static int OUT_TARGET
          The 'Out target' literal value.
static List<GenNavigatorReferenceType> VALUES
          A public read-only list of all the 'Gen Navigator Reference Type' enumerators.
 
Method Summary
static GenNavigatorReferenceType get(int value)
          Returns the 'Gen Navigator Reference Type' literal with the specified integer value.
static GenNavigatorReferenceType get(String literal)
          Returns the 'Gen Navigator Reference Type' literal with the specified literal value.
static GenNavigatorReferenceType getByName(String name)
          Returns the 'Gen Navigator Reference 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 GenNavigatorReferenceType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GenNavigatorReferenceType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CHILDREN_LITERAL

public static final GenNavigatorReferenceType CHILDREN_LITERAL
The 'Children' literal object.

See Also:
CHILDREN
Generated
Ordered

OUT_TARGET_LITERAL

public static final GenNavigatorReferenceType OUT_TARGET_LITERAL
The 'Out target' literal object.

See Also:
OUT_TARGET
Generated
Ordered

IN_SOURCE_LITERAL

public static final GenNavigatorReferenceType IN_SOURCE_LITERAL
The 'In source' literal object.

See Also:
IN_SOURCE
Generated
Ordered
Field Detail

CHILDREN

public static final int CHILDREN
The 'Children' literal value.

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

See Also:
CHILDREN_LITERAL, Constant Field Values
Generated
Ordered
Model Properties:
name="children"

OUT_TARGET

public static final int OUT_TARGET
The 'Out target' literal value.

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

See Also:
OUT_TARGET_LITERAL, Constant Field Values
Generated
Ordered
Model Properties:
name="out_target"

IN_SOURCE

public static final int IN_SOURCE
The 'In source' literal value.

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

See Also:
IN_SOURCE_LITERAL, Constant Field Values
Generated
Ordered
Model Properties:
name="in_source"

VALUES

public static final List<GenNavigatorReferenceType> VALUES
A public read-only list of all the 'Gen Navigator Reference Type' enumerators.

Generated
Method Detail

values

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

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

valueOf

public static GenNavigatorReferenceType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

get

public static GenNavigatorReferenceType get(String literal)
Returns the 'Gen Navigator Reference Type' literal with the specified literal value.

Generated

getByName

public static GenNavigatorReferenceType getByName(String name)
Returns the 'Gen Navigator Reference Type' literal with the specified name.

Generated

get

public static GenNavigatorReferenceType get(int value)
Returns the 'Gen Navigator Reference Type' literal with the specified integer value.

Generated

getValue

public int getValue()

Specified by:
getValue in interface org.eclipse.emf.common.util.Enumerator
Generated

getName

public String getName()

Specified by:
getName in interface org.eclipse.emf.common.util.Enumerator
Generated

getLiteral

public String getLiteral()

Specified by:
getLiteral in interface org.eclipse.emf.common.util.Enumerator
Generated

toString

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

Overrides:
toString in class Enum<GenNavigatorReferenceType>
Generated


Copyright © 2012. All Rights Reserved.