Enum Class Syntax

All Implemented Interfaces:
Serializable, Comparable<Syntax>, Constable

public enum Syntax extends Enum<Syntax>
This enumeration contains the possible value types.
  • Enum Constant Details

    • NONE

      public static final Syntax NONE
      No value available.
    • BOOLEAN

      public static final Syntax BOOLEAN
      A truth value of true or false .
    • BYTE

      public static final Syntax BYTE
      A byte value.
    • CARDINAL

      public static final Syntax CARDINAL
      A non-negative number supporting a 64-bit value ( 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.
    • COORDINATE

      public static final Syntax COORDINATE
      A point in space.
    • CURRENCY

      public static final Syntax CURRENCY
      An amount of money.
    • DATETIME

      public static final Syntax DATETIME
      A point in time.
    • DECIMAL

      public static final Syntax DECIMAL
      A signed arbitrary precision decimal number.
    • DISPLAYTEXT

      public static final Syntax DISPLAYTEXT
      A localizable display string.
    • DISTANCE

      public static final Syntax DISTANCE
      A measure between two Coordinates .
    • DURATION

      public static final Syntax DURATION
      A measure between two DateTimes .
    • HEADING

      public static final Syntax HEADING
      A direction of motion.
    • ID

      public static final Syntax ID
      An OSID Id .
    • INTEGER

      public static final Syntax INTEGER
      A number supporting a 64-bit value ( -9,223,372,036,854,775,808.. 9,223,372,036,854,775,808 ).
    • OBJECT

      public static final Syntax OBJECT
      An arbitrary object.
    • SPATIALUNIT

      public static final Syntax SPATIALUNIT
      An OSID SpatialUnit .
    • SPEED

      public static final Syntax SPEED
      How fast something moves.
    • STRING

      public static final Syntax STRING
      A string of characters.
    • TIME

      public static final Syntax TIME
      A time of day.
    • TYPE

      public static final Syntax TYPE
      An OSID Type .
    • VERSION

      public static final Syntax VERSION
      A version.
  • Method Details

    • values

      public static Syntax[] 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

      public static Syntax valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getDisplayName

      public String getDisplayName()
    • getDescription

      public String getDescription()