Package com.nomagic.updm.utils
Enum UPDMProfile.DevelopmentStatusEnum
- java.lang.Object
-
- java.lang.Enum<UPDMProfile.DevelopmentStatusEnum>
-
- com.nomagic.updm.utils.UPDMProfile.DevelopmentStatusEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UPDMProfile.DevelopmentStatusEnum>
- Enclosing class:
- UPDMProfile
public static enum UPDMProfile.DevelopmentStatusEnum extends java.lang.Enum<UPDMProfile.DevelopmentStatusEnum>
Enumeration of development statuses, used to support the status tag of the DesignRule stereotype.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DRAFT
Indicates that the development of the design rule is in Draft state.IDENTIFIED
Indicates that the development of the design rule is in Identified state.OBSOLETE
Indicates that the development of the design rule is in Obsolete state.PROPOSAL
Indicates that the development of the design rule is in Proposal state.REJECTED
Indicates that the development of the design rule is in Rejected state.VERIFIED
Indicates that the development of the design rule is in Verified state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UPDMProfile.DevelopmentStatusEnum
from(java.lang.Object o)
java.lang.String
getText()
static UPDMProfile.DevelopmentStatusEnum
toEnum(EnumerationLiteral literal)
static EnumerationLiteral
toEnumerationLiteral(UPDMProfile profile, UPDMProfile.DevelopmentStatusEnum anEnum)
static UPDMProfile.DevelopmentStatusEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UPDMProfile.DevelopmentStatusEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IDENTIFIED
public static final UPDMProfile.DevelopmentStatusEnum IDENTIFIED
Indicates that the development of the design rule is in Identified state.
-
DRAFT
public static final UPDMProfile.DevelopmentStatusEnum DRAFT
Indicates that the development of the design rule is in Draft state.
-
PROPOSAL
public static final UPDMProfile.DevelopmentStatusEnum PROPOSAL
Indicates that the development of the design rule is in Proposal state.
-
VERIFIED
public static final UPDMProfile.DevelopmentStatusEnum VERIFIED
Indicates that the development of the design rule is in Verified state.
-
REJECTED
public static final UPDMProfile.DevelopmentStatusEnum REJECTED
Indicates that the development of the design rule is in Rejected state.
-
OBSOLETE
public static final UPDMProfile.DevelopmentStatusEnum OBSOLETE
Indicates that the development of the design rule is in Obsolete state.
-
-
Method Detail
-
values
public static UPDMProfile.DevelopmentStatusEnum[] 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 (UPDMProfile.DevelopmentStatusEnum c : UPDMProfile.DevelopmentStatusEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UPDMProfile.DevelopmentStatusEnum 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 namejava.lang.NullPointerException
- if the argument is null
-
getText
public java.lang.String getText()
-
from
@CheckForNull public static UPDMProfile.DevelopmentStatusEnum from(@CheckForNull java.lang.Object o)
-
toEnum
@CheckForNull public static UPDMProfile.DevelopmentStatusEnum toEnum(EnumerationLiteral literal)
-
toEnumerationLiteral
@CheckForNull public static EnumerationLiteral toEnumerationLiteral(UPDMProfile profile, UPDMProfile.DevelopmentStatusEnum anEnum)
-
-