Package com.nomagic.magicdraw.uaf
Enum UAF.WholeLifeConfigurationKindEnum
- java.lang.Object
-
- java.lang.Enum<UAF.WholeLifeConfigurationKindEnum>
-
- com.nomagic.magicdraw.uaf.UAF.WholeLifeConfigurationKindEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UAF.WholeLifeConfigurationKindEnum>
- Enclosing class:
- UAF
public static enum UAF.WholeLifeConfigurationKindEnum extends java.lang.Enum<UAF.WholeLifeConfigurationKindEnum>
Enumeration of the possible kinds of WholeLifeConfiguration.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ORGANIZATIONALRESOURCE
Indicates that the WholeLifeConfiguration associated with the WholeLifeConfigurationKind is the master specification from which OrganizationalResources are versioned.RESOURCEPERFORMER
Indicates that the WholeLifeConfiguration associated with the WholeLifeConfigurationKind is the master specification from which ResourcePerformers are versioned.SERVICE
Indicates that the WholeLifeConfiguration associated with the WholeLifeConfigurationKind is the master specification from which Services are versioned.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UAF.WholeLifeConfigurationKindEnum
from(java.lang.Object o)
java.lang.String
getText()
static UAF.WholeLifeConfigurationKindEnum
toEnum(EnumerationLiteral literal)
static EnumerationLiteral
toEnumerationLiteral(UAF profile, UAF.WholeLifeConfigurationKindEnum anEnum)
static UAF.WholeLifeConfigurationKindEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UAF.WholeLifeConfigurationKindEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVICE
public static final UAF.WholeLifeConfigurationKindEnum SERVICE
Indicates that the WholeLifeConfiguration associated with the WholeLifeConfigurationKind is the master specification from which Services are versioned.
-
RESOURCEPERFORMER
public static final UAF.WholeLifeConfigurationKindEnum RESOURCEPERFORMER
Indicates that the WholeLifeConfiguration associated with the WholeLifeConfigurationKind is the master specification from which ResourcePerformers are versioned.
-
ORGANIZATIONALRESOURCE
public static final UAF.WholeLifeConfigurationKindEnum ORGANIZATIONALRESOURCE
Indicates that the WholeLifeConfiguration associated with the WholeLifeConfigurationKind is the master specification from which OrganizationalResources are versioned.
-
-
Method Detail
-
values
public static UAF.WholeLifeConfigurationKindEnum[] 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 (UAF.WholeLifeConfigurationKindEnum c : UAF.WholeLifeConfigurationKindEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UAF.WholeLifeConfigurationKindEnum 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 UAF.WholeLifeConfigurationKindEnum from(@CheckForNull java.lang.Object o)
-
toEnum
@CheckForNull public static UAF.WholeLifeConfigurationKindEnum toEnum(EnumerationLiteral literal)
-
toEnumerationLiteral
@CheckForNull public static EnumerationLiteral toEnumerationLiteral(UAF profile, UAF.WholeLifeConfigurationKindEnum anEnum)
-
-