org.deegree.filter.temporal
Class TemporalOperator

java.lang.Object
  extended by org.deegree.filter.temporal.TemporalOperator
All Implemented Interfaces:
Operator
Direct Known Subclasses:
After, AnyInteracts, Before, Begins, BegunBy, During, EndedBy, Meets, MetBy, OverlappedBy, TContains, TEquals, TOverlaps

public abstract class TemporalOperator
extends Object
implements Operator

Defines a predicate based on temporal relationships between two time-valued arguments.

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

Nested Class Summary
static class TemporalOperator.SubType
          Convenience enum type for discriminating the different TemporalOperator types.
 
Nested classes/interfaces inherited from interface org.deegree.filter.Operator
Operator.Type
 
Field Summary
protected  Expression param1
           
protected  Expression param2
           
 
Constructor Summary
protected TemporalOperator(Expression param1, Expression param2)
           
 
Method Summary
 Expression getParameter1()
           
 Expression getParameter2()
           
 TemporalOperator.SubType getSubType()
          Returns the type of spatial operator.
 Operator.Type getType()
          Always returns Operator.Type#TEMPORAL (for TemporalOperator instances).
 String toString(String indent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.deegree.filter.Operator
evaluate
 

Field Detail

param1

protected final Expression param1

param2

protected final Expression param2
Constructor Detail

TemporalOperator

protected TemporalOperator(Expression param1,
                           Expression param2)
Method Detail

getType

public Operator.Type getType()
Always returns Operator.Type#TEMPORAL (for TemporalOperator instances).

Specified by:
getType in interface Operator
Returns:
Operator.Type#TEMPORAL

getSubType

public TemporalOperator.SubType getSubType()
Returns the type of spatial operator. Use this to safely determine the subtype of TemporalOperator.

Returns:
type of spatial operator

getParameter1

public Expression getParameter1()

getParameter2

public Expression getParameter2()

toString

public String toString(String indent)
Specified by:
toString in interface Operator


Copyright © 2011. All Rights Reserved.