- Type Parameters:
R
- the type of resources (e.g.Feature
) to filter.
@UML(identifier="TemporalOperator",
specification=ISO_19143)
public interface TemporalOperator<R>
extends Filter<R>
Operator that determines whether its time arguments satisfy the stated spatial relationship.
The operator evaluates to
true
if the spatial relationship is satisfied.
Otherwise, the operator evaluates to false
.
The nature of the comparison is dependent on the operator type.
Exceptions
If any input value ofTemporalPosition
is indeterminate, an exception shall be raised.- Since:
- 3.1
-
Method Summary
Modifier and TypeMethodDescriptionList<Expression<? super R,
?>> Returns the two expressions to be evaluated by this operator.Returns the nature of the operator.
-
Method Details
-
getOperatorType
TemporalOperatorName getOperatorType()Returns the nature of the operator.- Specified by:
getOperatorType
in interfaceFilter<R>
- Returns:
- the nature of the operator.
-
getExpressions
@UML(identifier="operand1, operand2", obligation=MANDATORY, specification=ISO_19143) List<Expression<? super R,?>> getExpressions()Returns the two expressions to be evaluated by this operator. The list content is as below:-
The first expression should be a
ValueReference
evaluating to a temporal object. -
The second expression should be a
ValueReference
or a literal evaluating to a temporal object.
- Specified by:
getExpressions
in interfaceFilter<R>
- Returns:
- a list of size 2 containing the two expressions to be evaluated.
- Departure from OGC/ISO abstract specification:
Departure due to constraint of the Java language
ISO 19143 uses two properties, namedoperand1
andoperand2
, of typeValueReference
andTemporalOperand
respectively. The later is an union ofTM_Object
andValueReference
, which has no direct equivalence in Java. The union purpose is replaced by documentation in this method. The two values are put in a list for retrofitting inFilter#getExpressions()
.
-
The first expression should be a
-