Class TLcdOGCTemporalOperator
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.filter.model.capabilities.TLcdOGCTemporalOperator
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,Cloneable
Class representing a temporal operator capability.
The temporal operator is a filter operator defined by the OGC Filter 2.0 standard.
This class is used to indicate support for a particular temporal operator. It is typically used inside
a
TLcdOGCTemporalFilterCapabilities, to indicate support for a set of temporal operators.
The allowed temporal operator names and temporal operands are defined as constants in the
TLcdOGCTemporalFilterCapabilities class.- Since:
- 2017.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTLcdOGCTemporalOperator(String aName) Constructs a temporal operator with the given name.TLcdOGCTemporalOperator(String aName, TLcdXMLName[] aTemporalOperands) Constructs a temporal operator with the given name and supported temporal operands. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTemporalOperand(TLcdXMLName aOperand) Adds the given temporal operand to the list of temporal operands supported by this temporal operator.getName()Returns the name of this temporal operator.getTemporalOperand(int aOperandIndex) Returns the temporal operand at the given index.intReturn the number of temporal operands supported by this temporal operator.voidremoveTemporalOperand(TLcdXMLName aOperand) Removes the given temporal operand from the list of temporal operands supported by this temporal operator.
-
Constructor Details
-
TLcdOGCTemporalOperator
Constructs a temporal operator with the given name. The allowed temporal operator names are defined as constants in theTLcdOGCTemporalFilterCapabilitiesclass.- Parameters:
aName- the temporal operator name.- See Also:
-
TLcdOGCTemporalOperator
Constructs a temporal operator with the given name and supported temporal operands. The allowed temporal operator names and temporal operands are defined as constants in theTLcdOGCTemporalFilterCapabilitiesclass.- Parameters:
aName- the temporal operator name.aTemporalOperands- the temporal operands.- See Also:
-
-
Method Details
-
getName
Returns the name of this temporal operator.- Returns:
- the name of this temporal operator.
-
getTemporalOperandCount
public int getTemporalOperandCount()Return the number of temporal operands supported by this temporal operator.- Returns:
- the number of temporal operands supported by this temporal operator.
-
getTemporalOperands
-
getTemporalOperand
Returns the temporal operand at the given index.- Parameters:
aOperandIndex- the index of the temporal operand to retrieve- Returns:
- the temporal operand at the given index.
-
addTemporalOperand
Adds the given temporal operand to the list of temporal operands supported by this temporal operator. The allowed temporal operands are defined as constants in theTLcdOGCTemporalFilterCapabilitiesclass.- Parameters:
aOperand- a temporal operand.
-
removeTemporalOperand
Removes the given temporal operand from the list of temporal operands supported by this temporal operator.- Parameters:
aOperand- a temporal operand.
-