Enum ModuleKindEnum
- java.lang.Object
-
- java.lang.Enum<ModuleKindEnum>
-
- org.eclipse.m2m.internal.qvt.oml.cst.ModuleKindEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ModuleKindEnum>,Enumerator
public enum ModuleKindEnum extends Enum<ModuleKindEnum> implements Enumerator
A representation of the literals of the enumeration 'Module Kind Enum', and utility methods for working with them.- See Also:
CSTPackage.getModuleKindEnum()- EMF generated code
- EMF model element
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LIBRARYThe 'Library' literal object.TRANSFORMATIONThe 'Transformation' literal object.
-
Field Summary
Fields Modifier and Type Field Description static Stringcopyrightstatic intLIBRARY_VALUEThe 'Library' literal value.static intTRANSFORMATION_VALUEThe 'Transformation' literal value.static List<ModuleKindEnum>VALUESA public read-only list of all the 'Module Kind Enum' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModuleKindEnumget(int value)Returns the 'Module Kind Enum' literal with the specified integer value.static ModuleKindEnumget(String literal)Returns the 'Module Kind Enum' literal with the specified literal value.static ModuleKindEnumgetByName(String name)Returns the 'Module Kind Enum' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static ModuleKindEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ModuleKindEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRANSFORMATION
public static final ModuleKindEnum TRANSFORMATION
The 'Transformation' literal object.- See Also:
TRANSFORMATION_VALUE- EMF generated code
- Ordered
-
LIBRARY
public static final ModuleKindEnum LIBRARY
The 'Library' literal object.- See Also:
LIBRARY_VALUE- EMF generated code
- Ordered
-
-
Field Detail
-
copyright
public static final String copyright
- See Also:
- Constant Field Values
- EMF generated code
-
TRANSFORMATION_VALUE
public static final int TRANSFORMATION_VALUE
The 'Transformation' literal value.If the meaning of 'Transformation' literal object isn't clear, there really should be more of a description here...
- See Also:
TRANSFORMATION, Constant Field Values- EMF generated code
- EMF model element
- name="transformation"
- Ordered
-
LIBRARY_VALUE
public static final int LIBRARY_VALUE
The 'Library' literal value.If the meaning of 'Library' literal object isn't clear, there really should be more of a description here...
- See Also:
LIBRARY, Constant Field Values- EMF generated code
- EMF model element
- name="library"
- Ordered
-
VALUES
public static final List<ModuleKindEnum> VALUES
A public read-only list of all the 'Module Kind Enum' enumerators.- EMF generated code
-
-
Method Detail
-
values
public static ModuleKindEnum[] 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 (ModuleKindEnum c : ModuleKindEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModuleKindEnum 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 ModuleKindEnum get(String literal)
Returns the 'Module Kind Enum' literal with the specified literal value.- EMF generated code
-
getByName
public static ModuleKindEnum getByName(String name)
Returns the 'Module Kind Enum' literal with the specified name.- EMF generated code
-
get
public static ModuleKindEnum get(int value)
Returns the 'Module 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<ModuleKindEnum>- EMF generated code
-
-