Enum Class SimpleParameter.Type

All Implemented Interfaces:
Serializable, Comparable<SimpleParameter.Type>, Constable
Enclosing class:
SimpleParameter

public static enum SimpleParameter.Type extends Enum<SimpleParameter.Type>
Determines the range of values and the unit of measurement of a parameter. This enum is stored in the SimpleParameter.type field, and used in order to determine the values returned by the methods implementing the ParameterDescriptor interface.
Since:
3.1
  • Enum Constant Details

    • LONGITUDE

      public static final SimpleParameter.Type LONGITUDE
      Longitude as decimal degrees in the [-180° … +180°] range.
    • LATITUDE

      public static final SimpleParameter.Type LATITUDE
      Latitude as decimal degrees in the [-90° … +90°] range.
    • LINEAR

      public static final SimpleParameter.Type LINEAR
      Any linear value as metres, unbounded.
    • LENGTH

      public static final SimpleParameter.Type LENGTH
      Length as metres in the [0 … ∞] range.
    • SCALE

      public static final SimpleParameter.Type SCALE
      Scale as dimensionless number in the [0 … ∞] range.
  • Method Details

    • values

      public static SimpleParameter.Type[] 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 SimpleParameter.Type 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