Enum Constant and Description |
---|
BOOLEAN
A truth value of
true or false. |
BYTE
A byte value.
|
CARDINAL
A non-negative number supporting a 64-bit value (
0..9,223,372,036,854,775,808 ). |
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 two
Coordinates. |
DURATION
A measure between two
DateTimes. |
HEADING
A direction of motion.
|
ID
An OSID
Id . |
INTEGER
A number supporting a 64-bit value
(
-9,223,372,036,854,775,808.. |
NONE
No value available.
|
OBJECT
An arbitrary object.
|
SPATIALUNIT
An OSID
SpatialUnit. |
SPEED
How fast something moves.
|
STRING
A string of characters.
|
TIME
A time of day.
|
TYPE
An OSID
Type. |
VERSION
A version.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.lang.String |
getDisplayName() |
static Syntax |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Syntax[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Syntax NONE
public static final Syntax BOOLEAN
true
or false.
public static final Syntax BYTE
public static final Syntax CARDINAL
0..9,223,372,036,854,775,808
). Cardinal
numbers should be used to represent numbers such as sizes and counters
where negative numbers have no meaning.public static final Syntax COORDINATE
public static final Syntax CURRENCY
public static final Syntax DATETIME
public static final Syntax DECIMAL
public static final Syntax DISPLAYTEXT
public static final Syntax DISTANCE
Coordinates.
public static final Syntax DURATION
DateTimes.
public static final Syntax HEADING
public static final Syntax ID
Id
.public static final Syntax INTEGER
-9,223,372,036,854,775,808.. 9,223,372,036,854,775,808
).public static final Syntax OBJECT
public static final Syntax SPATIALUNIT
SpatialUnit.
public static final Syntax SPEED
public static final Syntax STRING
public static final Syntax TIME
public static final Syntax TYPE
Type.
public static final Syntax VERSION
public static Syntax[] values()
for (Syntax c : Syntax.values()) System.out.println(c);
public static Syntax valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getDisplayName()
public java.lang.String getDescription()