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:
 ProfileImplementation.TextProvider,java.io.Serializable,java.lang.Comparable<UPDMProfile.LocationKindEnum>
- Enclosing class:
 - UPDMProfile
 
public static enum UPDMProfile.LocationKindEnum extends java.lang.Enum<UPDMProfile.LocationKindEnum> implements ProfileImplementation.TextProvider
Enumeration of location kinds, used to support the locationKind tag of the LocationKind stereotype. 
- 
- 
Enum Constant Summary
Enum Constants Enum Constant Description CIRCULARAREAThe space enclosed by a circle.ELIPTICALAREAThe space enclosed by an ellipse.GEOSTATIONARYPOINTUnidimensional Individual (dimensionless in space, existent over all time).LINEA geometric figure formed by a point moving along a fixed direction and the reverse direction.OTHEROther Location kind that is not on the enumerated list.PLANARSURFACEA two-dimensional portion of space.POINTUnidimensional Individual (dimensionless in space, existent over all time).POLYGONAREAThe space enclosed by a polygon.RECTANGULARAREAThe space enclosed by a rectangle.SOLIDVOLUMEThe amount of space occupied by a three-dimensional object of definite shape; not liquid or gaseous.SURFACEA portion of space having length and breadth but no thickness or regards to time. 
- 
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringtext 
- 
Constructor Summary
Constructors Modifier Constructor Description privateLocationKindEnum(java.lang.String text) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UPDMProfile.LocationKindEnumfrom(java.lang.Object o)java.lang.StringgetText()static UPDMProfile.LocationKindEnumtoEnum(EnumerationLiteral literal)static EnumerationLiteraltoEnumerationLiteral(UPDMProfile profile, UPDMProfile.LocationKindEnum anEnum)static UPDMProfile.LocationKindEnumvalueOf(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()
- Specified by:
 getTextin interfaceProfileImplementation.TextProvider
 
- 
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)
 
 - 
 
 -