Class TLcdOGCSpatialOperator

java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.filter.model.capabilities.TLcdOGCSpatialOperator
All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdOGCSpatialOperator extends TLcdDataObject
Class representing a spatial operator capability.

The allowed spatial operator names and geometry operands are defined as constants in the TLcdOGCSpatialFilterCapabilities class.

See Also:
  • Constructor Details

    • TLcdOGCSpatialOperator

      public TLcdOGCSpatialOperator(String aName)
      Constructs a spatial operator with name aName. The allowed spatial operator names are defined as constants in the TLcdOGCSpatialFilterCapabilities class.
      Parameters:
      aName - the spatial operator name.
      See Also:
    • TLcdOGCSpatialOperator

      public TLcdOGCSpatialOperator(String aName, TLcdXMLName[] aGeometryOperands)
      Constructs a spatial operator with name aName and supported geometry operands aGeometryOperands. The allowed spatial operator names and geometry operands are defined as constants in the TLcdOGCSpatialFilterCapabilities class.
      Parameters:
      aName - the spatial operator name.
      aGeometryOperands - the geometry operands.
      See Also:
  • Method Details

    • getName

      public String getName()
      Returns the name of the spatial operator.
      Returns:
      the name of the spatial operator.
    • getGeometryOperandCount

      public int getGeometryOperandCount()
      Return the number of geometry operands supported by this spatial operator.
      Returns:
      the number of geometry operands supported by this spatial operator.
    • getGeometryOperands

      public List<TLcdXMLName> getGeometryOperands()
    • getGeometryOperand

      public TLcdXMLName getGeometryOperand(int aOperandIndex)
      Returns the geometry operand at the given index.
      Parameters:
      aOperandIndex - the index of the geometry operand to retrieve
      Returns:
      the geometry operand at the given index.
    • addGeometryOperand

      public void addGeometryOperand(TLcdXMLName aOperand)
      Adds the geometry operand aOperand to the list of geometry operands supported by this spatial operator. The allowed geometry operands are defined as constants in the TLcdOGCSpatialFilterCapabilities class.
      Parameters:
      aOperand - the geometry operand.
    • removeGeometryOperand

      public void removeGeometryOperand(TLcdXMLName aOperand)
      Removes the geometry operand aOperand from the list of geometry operands supported by this spatial operator.
      Parameters:
      aOperand - the geometry operand.