Package org.opengis.referencing.cs
Class RangeMeaning
- All Implemented Interfaces:
Serializable
,Comparable<RangeMeaning>
@UML(identifier="CS_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
- Version:
- 3.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RangeMeaning
Any value between and including minimum value and maximum value is valid.private static final long
Serial number for compatibility with different versions.private static final List
<RangeMeaning> List of all enumerations of this type.static final RangeMeaning
The axis is continuous with values wrapping around at the minimum value and maximum value. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
RangeMeaning
(String name) Constructs an enum with the given name. -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Returns the list of enumerations of the same kind than this enum.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.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial number for compatibility with different versions.- See Also:
-
VALUES
List of all enumerations of this type. Must be declared before any enum declaration. -
EXACT
@UML(identifier="exact", obligation=CONDITIONAL, specification=ISO_19111) public static final RangeMeaning EXACTAny value between and including minimum value 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 value and maximum value. Values with the same meaning repeat modulo the difference between maximum value and minimum value.
-
-
Constructor Details
-
RangeMeaning
Constructs an enum with the given name. The new enum is automatically added to the list returned byvalues()
.- Parameters:
name
- The enum name. This name must not be in use by an other enum of this type.
-
-
Method Details
-
values
Returns the list ofRangeMeaning
s.- Returns:
- The list of codes declared in the current JVM.
-
family
Returns the list of enumerations of the same kind than this enum.- Specified by:
family
in classCodeList<RangeMeaning>
- Returns:
- The codes of the same kind than this code.
-
valueOf
Returns the range meaning that matches the given string, or returns a new one if none match it.- Parameters:
code
- The name of the code to fetch or to create.- Returns:
- A code matching the given name.
-