Package com.nomagic.updm.utils
Enum UPDMProfile.LocationKindEnum
- java.lang.Object
-
- java.lang.Enum<UPDMProfile.LocationKindEnum>
-
- com.nomagic.updm.utils.UPDMProfile.LocationKindEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UPDMProfile.LocationKindEnum>
- Enclosing class:
- UPDMProfile
public static enum UPDMProfile.LocationKindEnum extends java.lang.Enum<UPDMProfile.LocationKindEnum>
Enumeration of location kinds, used to support the locationKind tag of the LocationKind stereotype.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CIRCULARAREA
The space enclosed by a circle.ELIPTICALAREA
The space enclosed by an ellipse.GEOSTATIONARYPOINT
Unidimensional Individual (dimensionless in space, existent over all time).LINE
A geometric figure formed by a point moving along a fixed direction and the reverse direction.OTHER
Other Location kind that is not on the enumerated list.PLANARSURFACE
A two-dimensional portion of space.POINT
Unidimensional Individual (dimensionless in space, existent over all time).POLYGONAREA
The space enclosed by a polygon.RECTANGULARAREA
The space enclosed by a rectangle.SOLIDVOLUME
The amount of space occupied by a three-dimensional object of definite shape; not liquid or gaseous.SURFACE
A portion of space having length and breadth but no thickness or regards to time.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UPDMProfile.LocationKindEnum
from(java.lang.Object o)
java.lang.String
getText()
static UPDMProfile.LocationKindEnum
toEnum(EnumerationLiteral literal)
static EnumerationLiteral
toEnumerationLiteral(UPDMProfile profile, UPDMProfile.LocationKindEnum anEnum)
static UPDMProfile.LocationKindEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UPDMProfile.LocationKindEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SOLIDVOLUME
public static final UPDMProfile.LocationKindEnum SOLIDVOLUME
The amount of space occupied by a three-dimensional object of definite shape; not liquid or gaseous.
-
SURFACE
public static final UPDMProfile.LocationKindEnum SURFACE
A portion of space having length and breadth but no thickness or regards to time.
-
LINE
public static final UPDMProfile.LocationKindEnum LINE
A geometric figure formed by a point moving along a fixed direction and the reverse direction.
-
POINT
public static final UPDMProfile.LocationKindEnum POINT
Unidimensional Individual (dimensionless in space, existent over all time).
-
GEOSTATIONARYPOINT
public static final UPDMProfile.LocationKindEnum GEOSTATIONARYPOINT
Unidimensional Individual (dimensionless in space, existent over all time).
-
PLANARSURFACE
public static final UPDMProfile.LocationKindEnum PLANARSURFACE
A two-dimensional portion of space.
-
POLYGONAREA
public static final UPDMProfile.LocationKindEnum POLYGONAREA
The space enclosed by a polygon.
-
RECTANGULARAREA
public static final UPDMProfile.LocationKindEnum RECTANGULARAREA
The space enclosed by a rectangle.
-
ELIPTICALAREA
public static final UPDMProfile.LocationKindEnum ELIPTICALAREA
The space enclosed by an ellipse.
-
CIRCULARAREA
public static final UPDMProfile.LocationKindEnum CIRCULARAREA
The space enclosed by a circle.
-
OTHER
public static final UPDMProfile.LocationKindEnum OTHER
Other Location kind that is not on the enumerated list.
-
-
Method Detail
-
values
public static UPDMProfile.LocationKindEnum[] 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.LocationKindEnum c : UPDMProfile.LocationKindEnum.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.LocationKindEnum 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.LocationKindEnum from(@CheckForNull java.lang.Object o)
-
toEnum
@CheckForNull public static UPDMProfile.LocationKindEnum toEnum(EnumerationLiteral literal)
-
toEnumerationLiteral
@CheckForNull public static EnumerationLiteral toEnumerationLiteral(UPDMProfile profile, UPDMProfile.LocationKindEnum anEnum)
-
-