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
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to the choice between theFilter
andCqlText
elements.static final TLcdDataProperty
Data property that maps to theversion
attribute. -
Constructor Summary
ConstructorDescriptionTLcdCSWQueryConstraint
(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 theFilter
andCqlText
elements.Returns the value of the property that maps to theversion
attribute.void
setConstraint
(Object aValue) Sets the value of the property that maps to the choice between theFilter
andCqlText
elements.void
setVersion
(String aValue) Sets the value of the property that maps to theversion
attribute.
-
Field Details
-
VERSION_PROPERTY
Data property that maps to theversion
attribute. The possible values for this property are instances ofString
. -
CONSTRAINT_PROPERTY
Data property that maps to the choice between theFilter
andCqlText
elements. The possible values for this property are instances ofTLcdOGCFilter
String
-
-
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 theversion
attribute.Query language version
- Returns:
- the value of the
VERSION_PROPERTY
property.
-
setVersion
Sets the value of the property that maps to theversion
attribute.Query language version
- Parameters:
aValue
- the value to set for theVERSION_PROPERTY
property.
-
getConstraint
Returns the value of the property that maps to the choice between theFilter
andCqlText
elements.The possible values for this property are instances of
TLcdOGCFilter
String
- Returns:
- the value of the
CONSTRAINT_PROPERTY
property.
-
setConstraint
Sets the value of the property that maps to the choice between theFilter
andCqlText
elements.The possible values for this property are instances of
TLcdOGCFilter
String
- Parameters:
aValue
- the value to set for theCONSTRAINT_PROPERTY
property.
-