org.geotools.temporal.object
Class DefaultTemporalPrimitive

Object
  extended by DefaultTemporalObject
      extended by DefaultTemporalPrimitive
All Implemented Interfaces:
Comparable<TemporalPrimitive>, TemporalObject, TemporalOrder, TemporalPrimitive
Direct Known Subclasses:
DefaultTemporalGeometricPrimitive

public abstract class DefaultTemporalPrimitive
extends DefaultTemporalObject
implements TemporalPrimitive, TemporalOrder, Comparable<TemporalPrimitive>

An abstract class that represents a non-decomposed element of geometry or topology of time.

Author:
Mehdi Sidhoum (Geomatys), Simone Giannecchini, GeoSolutions SAS

Constructor Summary
DefaultTemporalPrimitive()
           
 
Method Summary
 int compareTo(TemporalPrimitive that)
           
 RelativePosition relativePosition(TemporalPrimitive other)
          Returns a value for relative position which are provided by the enumerated data type TM_RelativePosition and are based on the 13 temporal relationships identified by Allen (1983).
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTemporalPrimitive

public DefaultTemporalPrimitive()
Method Detail

compareTo

public int compareTo(TemporalPrimitive that)
Specified by:
compareTo in interface Comparable<TemporalPrimitive>

relativePosition

public RelativePosition relativePosition(TemporalPrimitive other)
Returns a value for relative position which are provided by the enumerated data type TM_RelativePosition and are based on the 13 temporal relationships identified by Allen (1983).

Specified by:
relativePosition in interface TemporalOrder
Parameters:
other - TemporalPrimitive
Returns:


Copyright © 1996-2014 Geotools. All Rights Reserved.