org.opengis.temporal
Class RelativePosition

Object
  extended by CodeList<RelativePosition>
      extended by RelativePosition
All Implemented Interfaces:
Serializable, Comparable<RelativePosition>

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

Values for relative temporal position based on the 13 temporal relationships identified by Allen (1993).

Author:
Stephane Fellah (Image Matters), Alexander Petkov, Martin Desruisseaux (IRD)
See Also:
Serialized Form

Field Summary
static RelativePosition AFTER
           
static RelativePosition BEFORE
           
static RelativePosition BEGINS
           
static RelativePosition BEGUN_BY
           
static RelativePosition CONTAINS
           
static RelativePosition DURING
           
static RelativePosition ENDED_BY
           
static RelativePosition ENDS
           
static RelativePosition EQUALS
           
static RelativePosition MEETS
           
static RelativePosition MET_BY
           
static RelativePosition OVERLAPPED_BY
           
static RelativePosition OVERLAPS
           
 
Method Summary
 RelativePosition[] family()
          Returns the list of enumerations of the same kind than this enum.
static RelativePosition valueOf(String code)
          Returns the relative position that matches the given string, or returns a new one if none match it.
static RelativePosition[] values()
          Returns the list of RelativePositions.
 
Methods inherited from class CodeList
compareTo, equals, identifier, matches, name, ordinal, readResolve, toString, valueOf
 
Methods inherited from class Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BEFORE

public static final RelativePosition BEFORE

AFTER

public static final RelativePosition AFTER

BEGINS

public static final RelativePosition BEGINS

ENDS

public static final RelativePosition ENDS

DURING

public static final RelativePosition DURING

EQUALS

public static final RelativePosition EQUALS

CONTAINS

public static final RelativePosition CONTAINS

OVERLAPS

public static final RelativePosition OVERLAPS

MEETS

public static final RelativePosition MEETS

OVERLAPPED_BY

public static final RelativePosition OVERLAPPED_BY

MET_BY

public static final RelativePosition MET_BY

BEGUN_BY

public static final RelativePosition BEGUN_BY

ENDED_BY

public static final RelativePosition ENDED_BY
Method Detail

values

public static RelativePosition[] values()
Returns the list of RelativePositions.

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

family

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

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

valueOf

public static RelativePosition valueOf(String code)
Returns the relative position 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.


Copyright © 1996-2014 Geotools. All Rights Reserved.