Class TLcdCSWQueryConstraint

java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.csw.model.TLcdCSWQueryConstraint
All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdCSWQueryConstraint extends TLcdDataObject
Holds an OGC Filter constraint and its associated version.
Since:
2017.0
  • Field Details

    • VERSION_PROPERTY

      public static final TLcdDataProperty VERSION_PROPERTY
      Data property that maps to the version attribute. The possible values for this property are instances of String.
    • CONSTRAINT_PROPERTY

      public static final TLcdDataProperty CONSTRAINT_PROPERTY
      Data property that maps to the choice between the Filter and CqlText elements. The possible values for this property are instances of
  • Constructor Details

    • TLcdCSWQueryConstraint

      public TLcdCSWQueryConstraint(TLcdOGCFilter aFilter, String aVersion)
      Creates a fully initialized constraint using the given OGC filter and the version number of the filter.
      Parameters:
      aFilter - the filter to use
      aVersion - the version of the filter (typically "1.1.0" for CSW 2 and "2.0.0" for CSW 3).
      Since:
      2018.1
    • TLcdCSWQueryConstraint

      public TLcdCSWQueryConstraint()
    • TLcdCSWQueryConstraint

      public TLcdCSWQueryConstraint(TLcdDataType aType)
  • Method Details

    • getVersion

      public String getVersion()
      Returns the value of the property that maps to the version attribute.

      Query language version

      Returns:
      the value of the VERSION_PROPERTY property.
    • setVersion

      public void setVersion(String aValue)
      Sets the value of the property that maps to the version attribute.

      Query language version

      Parameters:
      aValue - the value to set for the VERSION_PROPERTY property.
    • getConstraint

      public Object getConstraint()
      Returns the value of the property that maps to the choice between the Filter and CqlText elements.

      The possible values for this property are instances of

      Returns:
      the value of the CONSTRAINT_PROPERTY property.
    • setConstraint

      public void setConstraint(Object aValue)
      Sets the value of the property that maps to the choice between the Filter and CqlText elements.

      The possible values for this property are instances of

      Parameters:
      aValue - the value to set for the CONSTRAINT_PROPERTY property.