Enum Class Syntax
- All Implemented Interfaces:
Serializable, Comparable<Syntax>, Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA truth value oftrueorfalse.A byte value.A non-negative number supporting a 64-bit value (0..9,223,372,036,854,775,808).A point in space.An amount of money.A point in time.A signed arbitrary precision decimal number.A localizable display string.A measure between twoCoordinates.A measure between twoDateTimes.A direction of motion.An OSIDId.A number supporting a 64-bit value (-9,223,372,036,854,775,808.. 9,223,372,036,854,775,808).No value available.An arbitrary object.An OSIDSpatialUnit.How fast something moves.A string of characters.A time of day.An OSIDType.A version. -
Method Summary
-
Enum Constant Details
-
NONE
No value available. -
BOOLEAN
A truth value oftrueorfalse. -
BYTE
A byte value. -
CARDINAL
A non-negative number supporting a 64-bit value (0..9,223,372,036,854,775,808).Cardinalnumbers should be used to represent numbers such as sizes and counters where negative numbers have no meaning. -
COORDINATE
A point in space. -
CURRENCY
An amount of money. -
DATETIME
A point in time. -
DECIMAL
A signed arbitrary precision decimal number. -
DISPLAYTEXT
A localizable display string. -
DISTANCE
A measure between twoCoordinates. -
DURATION
A measure between twoDateTimes. -
HEADING
A direction of motion. -
ID
An OSIDId. -
INTEGER
A number supporting a 64-bit value (-9,223,372,036,854,775,808.. 9,223,372,036,854,775,808). -
OBJECT
An arbitrary object. -
SPATIALUNIT
An OSIDSpatialUnit. -
SPEED
How fast something moves. -
STRING
A string of characters. -
TIME
A time of day. -
TYPE
An OSIDType. -
VERSION
A version.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getDisplayName
-
getDescription
-