Enum Class Stage

java.lang.Object
java.lang.Enum<Stage>
org.enterprisedomain.classmaker.Stage
All Implemented Interfaces:
Serializable, Comparable<Stage>, Constable, org.eclipse.emf.common.util.Enumerator

public enum Stage extends Enum<Stage> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Stage', and utility methods for working with them. A stage in which subject could exist.
See Also:
  • Enum Constant Details

    • DEFINED

      public static final Stage DEFINED
      The 'DEFINED' literal object. A subject was just defined.
      See Also:
    • MODELED

      public static final Stage MODELED
      The 'MODELED' literal object. The subject is initialized.
      See Also:
    • GENERATED

      public static final Stage GENERATED
      The 'GENERATED' literal object. The subject's code is generated.
      See Also:
    • EXPORTED

      public static final Stage EXPORTED
      The 'EXPORTED' literal object. The subject binary is exported.
      See Also:
    • INSTALLED

      public static final Stage INSTALLED
      The 'INSTALLED' literal object. A subject's binary is installed on runtime.
      See Also:
    • LOADED

      public static final Stage LOADED
      The 'LOADED' literal object. A subject's program is loaded.
      See Also:
  • Field Details

    • DEFINED_VALUE

      public static final int DEFINED_VALUE
      The 'DEFINED' literal value.

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

      A subject was just defined.
      See Also:
    • MODELED_VALUE

      public static final int MODELED_VALUE
      The 'MODELED' literal value.

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

      The subject is initialized.
      See Also:
    • GENERATED_VALUE

      public static final int GENERATED_VALUE
      The 'GENERATED' literal value.

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

      The subject's code is generated.
      See Also:
    • EXPORTED_VALUE

      public static final int EXPORTED_VALUE
      The 'EXPORTED' literal value.

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

      The subject binary is exported.
      See Also:
    • INSTALLED_VALUE

      public static final int INSTALLED_VALUE
      The 'INSTALLED' literal value.

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

      A subject's binary is installed on runtime.
      See Also:
    • LOADED_VALUE

      public static final int LOADED_VALUE
      The 'LOADED' literal value.

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

      A subject's program is loaded.
      See Also:
    • VALUES

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

    • values

      public static Stage[] 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 Stage 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 Stage get(String literal)
      Returns the 'Stage' literal with the specified literal value.
      Parameters:
      literal - the literal.
      Returns:
      the matching enumerator or null.
    • getByName

      public static Stage getByName(String name)
      Returns the 'Stage' literal with the specified name.
      Parameters:
      name - the name.
      Returns:
      the matching enumerator or null.
    • get

      public static Stage get(int value)
      Returns the 'Stage' literal with the specified integer value.
      Parameters:
      value - the integer value.
      Returns:
      the matching enumerator or null.
    • getValue

      public int getValue()
      Specified by:
      getValue in interface org.eclipse.emf.common.util.Enumerator
    • getName

      public String getName()
      Specified by:
      getName in interface org.eclipse.emf.common.util.Enumerator
    • getLiteral

      public String getLiteral()
      Specified by:
      getLiteral in interface org.eclipse.emf.common.util.Enumerator
    • toString

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