org.opengis.referencing.cs
Class RangeMeaning

Show UML class diagram
Object
  extended by CodeList<RangeMeaning>
      extended by 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
See Also:
CoordinateSystemAxis.getRangeMeaning(), Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class CodeList
CodeList.Filter
 
Field Summary
static RangeMeaning EXACT
          Any value between and including minimum value and maximum value is valid.
static RangeMeaning WRAPAROUND
          The axis is continuous with values wrapping around at the minimum value and maximum value.
 
Method Summary
 RangeMeaning[] family()
          Returns the list of enumerations of the same kind than this enum.
static RangeMeaning valueOf(String code)
          Returns the range meaning that matches the given string, or returns a new one if none match it.
static RangeMeaning[] values()
          Returns the list of RangeMeanings.
 
Methods inherited from class CodeList
compareTo, equals, identifier, name, names, ordinal, readResolve, toString, valueOf, valueOf
 
Methods inherited from class Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EXACT

@UML(identifier="exact",
     obligation=CONDITIONAL,
     specification=ISO_19111)
public static final RangeMeaning EXACT
Any value between and including minimum value and maximum value is valid.


WRAPAROUND

@UML(identifier="wraparound",
     obligation=CONDITIONAL,
     specification=ISO_19111)
public static final RangeMeaning WRAPAROUND
The 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.
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 Detail

values

public static RangeMeaning[] values()
Returns the list of RangeMeanings.

Returns:
The list of codes declared in the current JVM.

family

public RangeMeaning[] family()
Returns the list of enumerations of the same kind than this enum.

Specified by:
family in class CodeList<RangeMeaning>
Returns:
The codes of the same kind than this code.

valueOf

public static RangeMeaning valueOf(String code)
Returns the range meaning that matches the given string, or returns a new one if none match it. More specifically, this methods returns the first instance for which name().equals(code) returns true. 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.


Copyright © 1994-2012 Open Geospatial Consortium. All Rights Reserved.