org.geotools.filter.capability
Class TemporalOperatorImpl

Object
  extended by TemporalOperatorImpl
All Implemented Interfaces:
Operator, TemporalOperator

public class TemporalOperatorImpl
extends Object
implements TemporalOperator


Constructor Summary
TemporalOperatorImpl(String name)
           
 
Method Summary
 boolean equals(Object obj)
          Equals should be implemented simply in terms of getName()
 String getName()
          Name of supported Operator.
 Collection<Name> getTemporalOperands()
          The operands accepted by this temporal operator.
 int hashCode()
          HashCode should be implemented simply in terms of getName().
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemporalOperatorImpl

public TemporalOperatorImpl(String name)
Method Detail

getName

public String getName()
Description copied from interface: Operator
Name of supported Operator.

Each filter subclass has an associated name (such as BBOX or EqualsTo), you can use this name to determine if a matching Operator is defined as part of FilterCapabilities.

Specified by:
getName in interface Operator

getTemporalOperands

public Collection<Name> getTemporalOperands()
Description copied from interface: TemporalOperator
The operands accepted by this temporal operator.

Specified by:
getTemporalOperands in interface TemporalOperator

hashCode

public int hashCode()
Description copied from interface: Operator
HashCode should be implemented simply in terms of getName().

Specified by:
hashCode in interface Operator
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Description copied from interface: Operator
Equals should be implemented simply in terms of getName()

Specified by:
equals in interface Operator
Overrides:
equals in class Object


Copyright © 1996-2014 Geotools. All Rights Reserved.