Enum DirectionKindEnum
- java.lang.Object
-
- java.lang.Enum<DirectionKindEnum>
-
- org.eclipse.m2m.internal.qvt.oml.cst.DirectionKindEnum
-
- All Implemented Interfaces:
Serializable,Comparable<DirectionKindEnum>,Enumerator
public enum DirectionKindEnum extends Enum<DirectionKindEnum> implements Enumerator
A representation of the literals of the enumeration 'Direction Kind Enum', and utility methods for working with them.- See Also:
CSTPackage.getDirectionKindEnum()- EMF generated code
- EMF model element
-
-
Field Summary
Fields Modifier and Type Field Description static Stringcopyrightstatic intDEFAULT_VALUEThe 'DEFAULT' literal value.static intIN_VALUEThe 'In' literal value.static intINOUT_VALUEThe 'Inout' literal value.static intOUT_VALUEThe 'Out' literal value.static List<DirectionKindEnum>VALUESA public read-only list of all the 'Direction Kind Enum' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DirectionKindEnumget(int value)Returns the 'Direction Kind Enum' literal with the specified integer value.static DirectionKindEnumget(String literal)Returns the 'Direction Kind Enum' literal with the specified literal value.static DirectionKindEnumgetByName(String name)Returns the 'Direction Kind Enum' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static DirectionKindEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static DirectionKindEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final DirectionKindEnum DEFAULT
The 'DEFAULT' literal object.- See Also:
DEFAULT_VALUE- EMF generated code
- Ordered
-
IN
public static final DirectionKindEnum IN
The 'In' literal object.- See Also:
IN_VALUE- EMF generated code
- Ordered
-
OUT
public static final DirectionKindEnum OUT
The 'Out' literal object.- See Also:
OUT_VALUE- EMF generated code
- Ordered
-
INOUT
public static final DirectionKindEnum INOUT
The 'Inout' literal object.- See Also:
INOUT_VALUE- EMF generated code
- Ordered
-
-
Field Detail
-
copyright
public static final String copyright
- See Also:
- Constant Field Values
- EMF generated code
-
DEFAULT_VALUE
public static final int DEFAULT_VALUE
The 'DEFAULT' literal value.If the meaning of 'DEFAULT' literal object isn't clear, there really should be more of a description here...
- See Also:
DEFAULT, Constant Field Values- EMF generated code
- EMF model element
- Ordered
-
IN_VALUE
public static final int IN_VALUE
The 'In' literal value.If the meaning of 'In' literal object isn't clear, there really should be more of a description here...
- See Also:
IN, Constant Field Values- EMF generated code
- EMF model element
- name="in"
- Ordered
-
OUT_VALUE
public static final int OUT_VALUE
The 'Out' literal value.If the meaning of 'Out' literal object isn't clear, there really should be more of a description here...
- See Also:
OUT, Constant Field Values- EMF generated code
- EMF model element
- name="out"
- Ordered
-
INOUT_VALUE
public static final int INOUT_VALUE
The 'Inout' literal value.If the meaning of 'Inout' literal object isn't clear, there really should be more of a description here...
- See Also:
INOUT, Constant Field Values- EMF generated code
- EMF model element
- name="inout"
- Ordered
-
VALUES
public static final List<DirectionKindEnum> VALUES
A public read-only list of all the 'Direction Kind Enum' enumerators.- EMF generated code
-
-
Method Detail
-
values
public static DirectionKindEnum[] 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 (DirectionKindEnum c : DirectionKindEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DirectionKindEnum 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 nameNullPointerException- if the argument is null
-
get
public static DirectionKindEnum get(String literal)
Returns the 'Direction Kind Enum' literal with the specified literal value.- EMF generated code
-
getByName
public static DirectionKindEnum getByName(String name)
Returns the 'Direction Kind Enum' literal with the specified name.- EMF generated code
-
get
public static DirectionKindEnum get(int value)
Returns the 'Direction Kind Enum' literal with the specified integer value.- EMF generated code
-
getValue
public int getValue()
- Specified by:
getValuein interfaceEnumerator- EMF generated code
-
getName
public String getName()
- Specified by:
getNamein interfaceEnumerator- EMF generated code
-
getLiteral
public String getLiteral()
- Specified by:
getLiteralin interfaceEnumerator- EMF generated code
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toStringin classEnum<DirectionKindEnum>- EMF generated code
-
-