Package org.geotools.filter.capability
Class OperatorImpl
- Object
-
- OperatorImpl
-
- All Implemented Interfaces:
Operator
- Direct Known Subclasses:
FunctionNameImpl
,SpatialOperatorImpl
public class OperatorImpl extends Object implements Operator
Implementation of the Operator interface.- Author:
- Justin Deoliveira, The Open Planning Project
-
-
Constructor Summary
Constructors Constructor Description OperatorImpl(String name)
OperatorImpl(Operator copy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Equals should be implemented simply in terms of getName()String
getName()
Name of supported Operator.int
hashCode()
HashCode should be implemented simply in terms of getName().void
setName(String name)
String
toString()
-
-
-
Method Detail
-
setName
public void setName(String name)
-
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.
-
hashCode
public int hashCode()
Description copied from interface:Operator
HashCode should be implemented simply in terms of getName().
-
equals
public boolean equals(Object obj)
Description copied from interface:Operator
Equals should be implemented simply in terms of getName()
-
-