Module org.opengis.geoapi.example
Package org.opengis.example.parameter
Enum Class SimpleParameter.Type
- All Implemented Interfaces:
Serializable
,Comparable<SimpleParameter.Type>
,Constable
- Enclosing class:
SimpleParameter
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
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionLatitude as decimal degrees in the [-90° … +90°] range.Length as metres in the [0 … ∞] range.Any linear value as metres, unbounded.Longitude as decimal degrees in the [-180° … +180°] range.Scale as dimensionless number in the [0 … ∞] range. -
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleParameter.Type
Returns the enum constant of this class with the specified name.static SimpleParameter.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LONGITUDE
Longitude as decimal degrees in the [-180° … +180°] range. -
LATITUDE
Latitude as decimal degrees in the [-90° … +90°] range. -
LINEAR
Any linear value as metres, unbounded. -
LENGTH
Length as metres in the [0 … ∞] range. -
SCALE
Scale as dimensionless number in the [0 … ∞] range.
-
-
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
-