Package com.nomagic.magicdraw.uaf
Enum UAF.EnvironmentKindEnum
- java.lang.Object
-
- java.lang.Enum<UAF.EnvironmentKindEnum>
-
- com.nomagic.magicdraw.uaf.UAF.EnvironmentKindEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UAF.EnvironmentKindEnum>
- Enclosing class:
- UAF
public static enum UAF.EnvironmentKindEnum extends java.lang.Enum<UAF.EnvironmentKindEnum>
Enumeration of the possible kinds of Environment.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CBRNENVIRONMENT
Indicates that the Environment associated with EnvironmentKind is of a Chemical, Biological, Radiological or Nuclear (CBRN) kind.LIGHTCONDITIONS
Indicates that the Environment associated with EnvironmentKind captures a kind of light condition (e.g.SITUATIONTYPE
Indicates that the Environment associated with EnvironmentKind captures a kind of situation used to describe the types and levels of threat (e.g.TERRAINTYPE
Indicates that the Environment associated with EnvironmentKind captures a kind of terrain used to describe the terrain state of an environment at a particular time (e.g.WEATHERCONDITIONS
Indicates that the Environment associated with EnvironmentKind captures a kind of weather condition (e.g.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UAF.EnvironmentKindEnum
from(java.lang.Object o)
java.lang.String
getText()
static UAF.EnvironmentKindEnum
toEnum(EnumerationLiteral literal)
static EnumerationLiteral
toEnumerationLiteral(UAF profile, UAF.EnvironmentKindEnum anEnum)
static UAF.EnvironmentKindEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UAF.EnvironmentKindEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TERRAINTYPE
public static final UAF.EnvironmentKindEnum TERRAINTYPE
Indicates that the Environment associated with EnvironmentKind captures a kind of terrain used to describe the terrain state of an environment at a particular time (e.g. muddy, frozen ground, deep snow, etc.).
-
WEATHERCONDITIONS
public static final UAF.EnvironmentKindEnum WEATHERCONDITIONS
Indicates that the Environment associated with EnvironmentKind captures a kind of weather condition (e.g. Typhoon, Hurricane, Very Hot, Humid etc.).
-
LIGHTCONDITIONS
public static final UAF.EnvironmentKindEnum LIGHTCONDITIONS
Indicates that the Environment associated with EnvironmentKind captures a kind of light condition (e.g. broad daylight, dusk, moonlit, etc.).
-
CBRNENVIRONMENT
public static final UAF.EnvironmentKindEnum CBRNENVIRONMENT
Indicates that the Environment associated with EnvironmentKind is of a Chemical, Biological, Radiological or Nuclear (CBRN) kind.
-
SITUATIONTYPE
public static final UAF.EnvironmentKindEnum SITUATIONTYPE
Indicates that the Environment associated with EnvironmentKind captures a kind of situation used to describe the types and levels of threat (e.g. Corrosive, Fire, Smoke, Peaceful etc.).
-
-
Method Detail
-
values
public static UAF.EnvironmentKindEnum[] 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.EnvironmentKindEnum c : UAF.EnvironmentKindEnum.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.EnvironmentKindEnum 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.EnvironmentKindEnum from(@CheckForNull java.lang.Object o)
-
toEnum
@CheckForNull public static UAF.EnvironmentKindEnum toEnum(EnumerationLiteral literal)
-
toEnumerationLiteral
@CheckForNull public static EnumerationLiteral toEnumerationLiteral(UAF profile, UAF.EnvironmentKindEnum anEnum)
-
-