Package org.enterprisedomain.classmaker
Enum Class Stage
- All Implemented Interfaces:
Serializable
,Comparable<Stage>
,Constable
,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:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The 'DEFINED' literal value.static final int
The 'EXPORTED' literal value.static final int
The 'GENERATED' literal value.static final int
The 'INSTALLED' literal value.static final int
The 'LOADED' literal value.static final int
The 'MODELED' literal value.A public read-only list of all the 'Stage' enumerators. -
Method Summary
Modifier and TypeMethodDescriptionstatic Stage
get
(int value) Returns the 'Stage' literal with the specified integer value.static Stage
Returns the 'Stage' literal with the specified literal value.static Stage
Returns the 'Stage' literal with the specified name.getName()
int
getValue()
toString()
Returns the literal value of the enumerator, which is its string representation.static Stage
Returns the enum constant of this class with the specified name.static Stage[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
DEFINED
The 'DEFINED' literal object. A subject was just defined.- See Also:
-
MODELED
The 'MODELED' literal object. The subject is initialized.- See Also:
-
GENERATED
The 'GENERATED' literal object. The subject's code is generated.- See Also:
-
EXPORTED
The 'EXPORTED' literal object. The subject binary is exported.- See Also:
-
INSTALLED
The 'INSTALLED' literal object. A subject's binary is installed on runtime.- See Also:
-
LOADED
The 'LOADED' literal object. A subject's program is loaded.- See Also:
-
-
Field Details
-
DEFINED_VALUE
public static final int DEFINED_VALUEThe '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_VALUEThe '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_VALUEThe '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_VALUEThe '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_VALUEThe '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_VALUEThe '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
A public read-only list of all the 'Stage' enumerators.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
get
Returns the 'Stage' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
Returns the 'Stage' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
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 interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
- Specified by:
getName
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
- Specified by:
getLiteral
in interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
Returns the literal value of the enumerator, which is its string representation.
-