- All Implemented Interfaces:
Serializable
,Comparable<RangeMeaning>
,ControlledVocabulary
@UML(identifier="RangeMeaning",
specification=ISO_19111)
public final class RangeMeaning
extends CodeList<RangeMeaning>
Meaning of the axis value range specified through minimum value and maximum value.
- Since:
- 2.1
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RangeMeaning
Any value between and including minimum and maximum value is valid.static final RangeMeaning
The axis is continuous with values wrapping around at the minimum and maximum value. -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Returns the list of codes of the same kind as this code list element.static RangeMeaning
Returns the range meaning that matches the given string, or returns a new one if none match it.static RangeMeaning[]
values()
Returns the list ofRangeMeaning
s.Methods inherited from class org.opengis.util.CodeList
compareTo, identifier, name, ordinal, readResolve, toString, valueOf, valueOf, valueOf, values
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opengis.util.ControlledVocabulary
names
-
Field Details
-
EXACT
@UML(identifier="exact", obligation=CONDITIONAL, specification=ISO_19111) public static final RangeMeaning EXACTAny value between and including minimum and maximum value is valid. -
WRAPAROUND
@UML(identifier="wraparound", obligation=CONDITIONAL, specification=ISO_19111) public static final RangeMeaning WRAPAROUNDThe axis is continuous with values wrapping around at the minimum and maximum value. Values with the same meaning repeat modulo the difference between maximum value and minimum value.Example
In a geographic CRS, longitude values are often defined with a finite extent (e.g., from -180 degrees to +180 degrees). The minimum and maximum longitude limits define a single line (on the ellipsoid, sphere, or cylinder), known as the anti-meridian, across which longitude values are discontinuous: as this line is crossed, longitude changes abruptly (e.g., going West from a little more than -180° to a little less than +180°).
-
-
Method Details
-
values
Returns the list ofRangeMeaning
s.- Returns:
- the list of codes declared in the current JVM.
-
family
Returns the list of codes of the same kind as this code list element. Invoking this method is equivalent to invokingvalues()
, except that this method can be invoked on an instance of the parentCodeList
class.- Specified by:
family
in interfaceControlledVocabulary
- Specified by:
family
in classCodeList<RangeMeaning>
- Returns:
- all code values for this code list.
-
valueOf
Returns the range meaning that matches the given string, or returns a new one if none match it. This methods returns the first instance (in declaration order) for which the name is equals, ignoring case, to the given name. If no existing instance is found, then a new one is created for the given name.- Parameters:
code
- the name of the code to fetch or to create.- Returns:
- a code matching the given name.
-