Interface Operator
-
- All Known Subinterfaces:
FunctionName
,SpatialOperator
,TemporalOperator
- All Known Implementing Classes:
FunctionNameImpl
,OperatorImpl
,SpatialOperatorImpl
,TemporalOperatorImpl
public interface Operator
Indicates a supported Operator.The operator that is supported is indicated by the getName() field, these names are formally defined to match:
- A subclass of Filter. Examples include "BBOX" and "EqualsTo"
- A subclass of Expression or Function. Examples include "ADD" and "Length"
- Author:
- Torsten Friebe, Jody Garnett (Refractions Research)
-
-
Method Summary
All Methods Instance Methods Abstract 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().
-
-
-
Method Detail
-
getName
@UML(identifier="name", specification=UNSPECIFIED) String getName()
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.
-
equals
boolean equals(Object obj)
Equals should be implemented simply in terms of getName()- Overrides:
equals
in classObject
-
hashCode
int hashCode()
HashCode should be implemented simply in terms of getName().- Overrides:
hashCode
in classObject
-
-