org.opengis.temporal
Class IndeterminateValue

Show UML class diagram
Object
  extended by CodeList<IndeterminateValue>
      extended by IndeterminateValue
All Implemented Interfaces:
Serializable, Comparable<IndeterminateValue>

@UML(identifier="TM_IndeterminateValue",
     specification=ISO_19108)
public final class IndeterminateValue
extends CodeList<IndeterminateValue>

Provides 4 values for indeterminate positions.

See Also:
Serialized Form
TODO:
Need javadoc for each enumeration.

Nested Class Summary
 
Nested classes/interfaces inherited from class CodeList
CodeList.Filter
 
Field Summary
static IndeterminateValue AFTER
           
static IndeterminateValue BEFORE
           
static IndeterminateValue NOW
           
static IndeterminateValue UNKNOWN
           
 
Method Summary
 IndeterminateValue[] family()
          Returns the list of codes of the same kind than this code list element.
static IndeterminateValue valueOf(String code)
          Returns the indeterminate value that matches the given string, or returns a new one if none match it.
static IndeterminateValue[] values()
          Returns the list of IndeterminateValues.
 
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

UNKNOWN

public static final IndeterminateValue UNKNOWN

NOW

public static final IndeterminateValue NOW

BEFORE

public static final IndeterminateValue BEFORE

AFTER

public static final IndeterminateValue AFTER
Method Detail

values

public static IndeterminateValue[] values()
Returns the list of IndeterminateValues.

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

family

public IndeterminateValue[] family()
Returns the list of codes of the same kind than this code list element. Invoking this method is equivalent to invoking values(), except that this method can be invoked on an instance of the parent CodeList class.

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

valueOf

public static IndeterminateValue valueOf(String code)
Returns the indeterminate value 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-2013 Open Geospatial Consortium. All Rights Reserved.