Enum MappingExtensionKindCS
- java.lang.Object
-
- java.lang.Enum<MappingExtensionKindCS>
-
- org.eclipse.m2m.internal.qvt.oml.cst.MappingExtensionKindCS
-
- All Implemented Interfaces:
Serializable,Comparable<MappingExtensionKindCS>,Enumerator
public enum MappingExtensionKindCS extends Enum<MappingExtensionKindCS> implements Enumerator
A representation of the literals of the enumeration 'Mapping Extension Kind CS', and utility methods for working with them.- See Also:
CSTPackage.getMappingExtensionKindCS()- EMF generated code
- EMF model element
-
-
Field Summary
Fields Modifier and Type Field Description static Stringcopyrightstatic intDISJUNCTS_VALUEThe 'Disjuncts' literal value.static intINHERITS_VALUEThe 'Inherits' literal value.static intMERGES_VALUEThe 'Merges' literal value.static List<MappingExtensionKindCS>VALUESA public read-only list of all the 'Mapping Extension Kind CS' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MappingExtensionKindCSget(int value)Returns the 'Mapping Extension Kind CS' literal with the specified integer value.static MappingExtensionKindCSget(String literal)Returns the 'Mapping Extension Kind CS' literal with the specified literal value.static MappingExtensionKindCSgetByName(String name)Returns the 'Mapping Extension Kind CS' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static MappingExtensionKindCSvalueOf(String name)Returns the enum constant of this type with the specified name.static MappingExtensionKindCS[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISJUNCTS
public static final MappingExtensionKindCS DISJUNCTS
The 'Disjuncts' literal object.- See Also:
DISJUNCTS_VALUE- EMF generated code
- Ordered
-
MERGES
public static final MappingExtensionKindCS MERGES
The 'Merges' literal object.- See Also:
MERGES_VALUE- EMF generated code
- Ordered
-
INHERITS
public static final MappingExtensionKindCS INHERITS
The 'Inherits' literal object.- See Also:
INHERITS_VALUE- EMF generated code
- Ordered
-
-
Field Detail
-
copyright
public static final String copyright
- See Also:
- Constant Field Values
- EMF generated code
-
DISJUNCTS_VALUE
public static final int DISJUNCTS_VALUE
The 'Disjuncts' literal value.If the meaning of 'Disjuncts' literal object isn't clear, there really should be more of a description here...
- See Also:
DISJUNCTS, Constant Field Values- EMF generated code
- EMF model element
- name="disjuncts"
- Ordered
-
MERGES_VALUE
public static final int MERGES_VALUE
The 'Merges' literal value.If the meaning of 'Merges' literal object isn't clear, there really should be more of a description here...
- See Also:
MERGES, Constant Field Values- EMF generated code
- EMF model element
- name="merges"
- Ordered
-
INHERITS_VALUE
public static final int INHERITS_VALUE
The 'Inherits' literal value.If the meaning of 'Inherits' literal object isn't clear, there really should be more of a description here...
- See Also:
INHERITS, Constant Field Values- EMF generated code
- EMF model element
- name="inherits"
- Ordered
-
VALUES
public static final List<MappingExtensionKindCS> VALUES
A public read-only list of all the 'Mapping Extension Kind CS' enumerators.- EMF generated code
-
-
Method Detail
-
values
public static MappingExtensionKindCS[] 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 (MappingExtensionKindCS c : MappingExtensionKindCS.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MappingExtensionKindCS 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 MappingExtensionKindCS get(String literal)
Returns the 'Mapping Extension Kind CS' literal with the specified literal value.- EMF generated code
-
getByName
public static MappingExtensionKindCS getByName(String name)
Returns the 'Mapping Extension Kind CS' literal with the specified name.- EMF generated code
-
get
public static MappingExtensionKindCS get(int value)
Returns the 'Mapping Extension Kind CS' 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<MappingExtensionKindCS>- EMF generated code
-
-