Package com.luciad.ogc.csw.model
Class TLcdCSWQueryConstraint
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.csw.model.TLcdCSWQueryConstraint
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,Cloneable
Holds an OGC Filter constraint and its associated version.
- Since:
- 2017.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to the choice between theFilterandCqlTextelements.static final TLcdDataPropertyData property that maps to theversionattribute. -
Constructor Summary
ConstructorsConstructorDescriptionTLcdCSWQueryConstraint(TLcdOGCFilter aFilter, String aVersion) Creates a fully initialized constraint using the given OGC filter and the version number of the filter. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to the choice between theFilterandCqlTextelements.Returns the value of the property that maps to theversionattribute.voidsetConstraint(Object aValue) Sets the value of the property that maps to the choice between theFilterandCqlTextelements.voidsetVersion(String aValue) Sets the value of the property that maps to theversionattribute.
-
Field Details
-
VERSION_PROPERTY
Data property that maps to theversionattribute. The possible values for this property are instances ofString. -
CONSTRAINT_PROPERTY
Data property that maps to the choice between theFilterandCqlTextelements. The possible values for this property are instances ofTLcdOGCFilterString
-
-
Constructor Details
-
TLcdCSWQueryConstraint
Creates a fully initialized constraint using the given OGC filter and the version number of the filter.- Parameters:
aFilter- the filter to useaVersion- 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
-
-
Method Details
-
getVersion
Returns the value of the property that maps to theversionattribute.Query language version
- Returns:
- the value of the
VERSION_PROPERTYproperty.
-
setVersion
Sets the value of the property that maps to theversionattribute.Query language version
- Parameters:
aValue- the value to set for theVERSION_PROPERTYproperty.
-
getConstraint
Returns the value of the property that maps to the choice between theFilterandCqlTextelements.The possible values for this property are instances of
TLcdOGCFilterString
- Returns:
- the value of the
CONSTRAINT_PROPERTYproperty.
-
setConstraint
Sets the value of the property that maps to the choice between theFilterandCqlTextelements.The possible values for this property are instances of
TLcdOGCFilterString
- Parameters:
aValue- the value to set for theCONSTRAINT_PROPERTYproperty.
-