Enum Stage

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Stage>, org.eclipse.emf.common.util.Enumerator

    public enum Stage
    extends java.lang.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:
    ClassMakerPackage.getStage()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DEFINED
      The 'DEFINED' literal object.
      EXPORTED
      The 'EXPORTED' literal object.
      GENERATED
      The 'GENERATED' literal object.
      INSTALLED
      The 'INSTALLED' literal object.
      LOADED
      The 'LOADED' literal object.
      MODELED
      The 'MODELED' literal object.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int DEFINED_VALUE
      The 'DEFINED' literal value.
      static int EXPORTED_VALUE
      The 'EXPORTED' literal value.
      static int GENERATED_VALUE
      The 'GENERATED' literal value.
      static int INSTALLED_VALUE
      The 'INSTALLED' literal value.
      static int LOADED_VALUE
      The 'LOADED' literal value.
      static int MODELED_VALUE
      The 'MODELED' literal value.
      static java.util.List<Stage> VALUES
      A public read-only list of all the 'Stage' enumerators.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Stage get​(int value)
      Returns the 'Stage' literal with the specified integer value.
      static Stage get​(java.lang.String literal)
      Returns the 'Stage' literal with the specified literal value.
      static Stage getByName​(java.lang.String name)
      Returns the 'Stage' literal with the specified name.
      java.lang.String getLiteral()
      java.lang.String getName()
      int getValue()
      java.lang.String toString()
      Returns the literal value of the enumerator, which is its string representation.
      static Stage valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Stage[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • DEFINED

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

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

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

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

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

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

      • 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:
        DEFINED, Constant Field Values
      • 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:
        MODELED, Constant Field Values
      • 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:
        GENERATED, Constant Field Values
      • 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:
        EXPORTED, Constant Field Values
      • 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:
        INSTALLED, Constant Field Values
      • 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:
        LOADED, Constant Field Values
      • VALUES

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

      • values

        public static Stage[] 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 (Stage c : Stage.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Stage valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • get

        public static Stage get​(java.lang.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​(java.lang.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 java.lang.String getName()
        Specified by:
        getName in interface org.eclipse.emf.common.util.Enumerator
      • getLiteral

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

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