Enum Class ConstantTag

java.lang.Object
java.lang.Enum<ConstantTag>
org.eclipse.m2m.atl.emftvm.ConstantTag
All Implemented Interfaces:
Serializable, Comparable<ConstantTag>, Constable, org.eclipse.emf.common.util.Enumerator

public enum ConstantTag extends Enum<ConstantTag> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Constant Tag', and utility methods for working with them.
See Also:
  • Enum Constant Details

  • Field Details

    • STRING_VALUE

      public static final int STRING_VALUE
      The 'String' literal value.

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

      See Also:
    • INTEGER_VALUE

      public static final int INTEGER_VALUE
      The 'Integer' literal value.

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

      See Also:
    • DOUBLE_VALUE

      public static final int DOUBLE_VALUE
      The 'Double' literal value.

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

      See Also:
    • BYTE_VALUE

      public static final int BYTE_VALUE
      The 'Byte' literal value.

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

      See Also:
    • CHARACTER_VALUE

      public static final int CHARACTER_VALUE
      The 'Character' literal value.

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

      See Also:
    • FLOAT_VALUE

      public static final int FLOAT_VALUE
      The 'Float' literal value.

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

      See Also:
    • SHORT_VALUE

      public static final int SHORT_VALUE
      The 'Short' literal value.

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

      See Also:
    • LONG_VALUE

      public static final int LONG_VALUE
      The 'Long' literal value.

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

      See Also:
    • ENUM_LITERAL_VALUE

      public static final int ENUM_LITERAL_VALUE
      The 'Enum Literal' literal value.

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

      See Also:
    • NULL_VALUE

      public static final int NULL_VALUE
      The 'Null' literal value.

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

      See Also:
    • VALUES

      public static final List<ConstantTag> VALUES
      A public read-only list of all the 'Constant Tag' enumerators.
  • Method Details

    • values

      public static ConstantTag[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ConstantTag valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • get

      public static ConstantTag get(String literal)
      Returns the 'Constant Tag' literal with the specified literal value.
      Parameters:
      literal - the literal string value
      literal - the literal.
      Returns:
      the 'Constant Tag' literal with the specified literal value.
    • getByName

      public static ConstantTag getByName(String name)
      Returns the 'Constant Tag' literal with the specified name.
      Parameters:
      name - the literal name
      name - the name.
      Returns:
      the 'Constant Tag' literal with the specified name.
    • get

      public static ConstantTag get(int value)
      Returns the 'Constant Tag' literal with the specified integer value.
      Parameters:
      value - the literal integer value
      value - the integer value.
      Returns:
      the 'Constant Tag' literal with the specified integer value.
    • getValue

      public int getValue()
      Returns the 'Constant Tag' literal integer value.
      Specified by:
      getValue in interface org.eclipse.emf.common.util.Enumerator
      Returns:
      the 'Constant Tag' literal integer value.
    • getName

      public String getName()
      Returns the 'Constant Tag' literal name.
      Specified by:
      getName in interface org.eclipse.emf.common.util.Enumerator
      Returns:
      the 'Constant Tag' literal name.
    • getLiteral

      public String getLiteral()
      Returns the 'Constant Tag' literal string value.
      Specified by:
      getLiteral in interface org.eclipse.emf.common.util.Enumerator
      Returns:
      the 'Constant Tag' literal string value.
    • toString

      public String toString()
      Returns the literal value of the enumerator, which is its string representation.
      Overrides:
      toString in class Enum<ConstantTag>
      Returns:
      the literal value of the enumerator, which is its string representation.