Enum DirectionKind
- java.lang.Object
-
- java.lang.Enum<DirectionKind>
-
- org.eclipse.m2m.internal.qvt.oml.expressions.DirectionKind
-
- All Implemented Interfaces:
Serializable,Comparable<DirectionKind>,Enumerator
public enum DirectionKind extends Enum<DirectionKind> implements Enumerator
A representation of the literals of the enumeration 'Direction Kind', and utility methods for working with them.- See Also:
ExpressionsPackage.getDirectionKind()- EMF generated code
- EMF model element
-
-
Field Summary
Fields Modifier and Type Field Description static Stringcopyrightstatic intIN_VALUEThe 'In' literal value.static intINOUT_VALUEThe 'Inout' literal value.static intOUT_VALUEThe 'Out' literal value.static List<DirectionKind>VALUESA public read-only list of all the 'Direction Kind' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DirectionKindget(int value)Returns the 'Direction Kind' literal with the specified integer value.static DirectionKindget(String literal)Returns the 'Direction Kind' literal with the specified literal value.static DirectionKindgetByName(String name)Returns the 'Direction Kind' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static DirectionKindvalueOf(String name)Returns the enum constant of this type with the specified name.static DirectionKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN
public static final DirectionKind IN
The 'In' literal object.- See Also:
IN_VALUE- EMF generated code
- Ordered
-
INOUT
public static final DirectionKind INOUT
The 'Inout' literal object.- See Also:
INOUT_VALUE- EMF generated code
- Ordered
-
OUT
public static final DirectionKind OUT
The 'Out' literal object.- See Also:
OUT_VALUE- EMF generated code
- Ordered
-
-
Field Detail
-
copyright
public static final String copyright
- See Also:
- Constant Field Values
- EMF generated code
-
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
-
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
-
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
-
VALUES
public static final List<DirectionKind> VALUES
A public read-only list of all the 'Direction Kind' enumerators.- EMF generated code
-
-
Method Detail
-
values
public static DirectionKind[] 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 (DirectionKind c : DirectionKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DirectionKind 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 DirectionKind get(String literal)
Returns the 'Direction Kind' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null. - EMF generated code
-
getByName
public static DirectionKind getByName(String name)
Returns the 'Direction Kind' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null. - EMF generated code
-
get
public static DirectionKind get(int value)
Returns the 'Direction Kind' literal with the specified integer value.- Parameters:
value- the integer value.- Returns:
- the matching enumerator or
null. - 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<DirectionKind>- EMF generated code
-
-