org.deegree.time.primitive
Class TimePeriod

java.lang.Object
  extended by org.deegree.time.primitive.TimePeriod
All Implemented Interfaces:
GMLObject, Object, TypedObjectNode, TimeGeometricPrimitive, TimePrimitive, TimeObject

public class TimePeriod
extends Object
implements TimeGeometricPrimitive

One-dimensional geometric primitive that represents an identifiable extent in time.

Version:
$Revision: 31664 $, $Date: 2011-08-26 16:18:07 +0200 (Fri, 26 Aug 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
TimePeriod(String id, GMLStdProps stdProps)
           
 
Method Summary
 TemporalPosition getBeginPosition()
          Returns the begin TemporalPosition.
 TemporalPosition getEndPosition()
          Returns the end TemporalPosition.
 String getFrame()
          Returns the time frame.
 GMLStdProps getGMLProperties()
          Returns the standard GML properties (e.g.
 String getId()
          Returns the id of the object.
 List<?> getRelatedTimes()
          Returns all time objects related to this TimePrimitive.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimePeriod

public TimePeriod(String id,
                  GMLStdProps stdProps)
Method Detail

getId

public String getId()
Description copied from interface: Object
Returns the id of the object.

Specified by:
getId in interface Object
Returns:
the id of the object, or null if it doesn't have an id

getGMLProperties

public GMLStdProps getGMLProperties()
Description copied from interface: GMLObject
Returns the standard GML properties (e.g. gml:name).

Specified by:
getGMLProperties in interface GMLObject
Returns:
the standard GML properties, may be

getBeginPosition

public TemporalPosition getBeginPosition()
Returns the begin TemporalPosition.

Returns:
temporal position, never null

getEndPosition

public TemporalPosition getEndPosition()
Returns the end TemporalPosition.

Returns:
temporal position, never null

getRelatedTimes

public List<?> getRelatedTimes()
Description copied from interface: TimePrimitive
Returns all time objects related to this TimePrimitive.

Specified by:
getRelatedTimes in interface TimePrimitive
Returns:
all related time objects, but never null

getFrame

public String getFrame()
Description copied from interface: TimeGeometricPrimitive
Returns the time frame.

Specified by:
getFrame in interface TimeGeometricPrimitive
Returns:
time frame, can be null


Copyright © 2011. All Rights Reserved.