public class TLcdCSWQueryConstraint extends TLcdDataObject
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
CONSTRAINT_PROPERTY
Data property that maps to the choice between the
Filter and CqlText elements. |
static TLcdDataProperty |
VERSION_PROPERTY
Data property that maps to the
version attribute. |
Constructor and Description |
---|
TLcdCSWQueryConstraint() |
TLcdCSWQueryConstraint(TLcdDataType aType) |
TLcdCSWQueryConstraint(TLcdOGCFilter aFilter,
String aVersion)
Creates a fully initialized constraint using the given OGC filter and the version number of the filter.
|
Modifier and Type | Method and Description |
---|---|
Object |
getConstraint()
Returns the value of the property that maps to the choice between the
Filter and CqlText elements. |
String |
getVersion()
Returns the value of the property that maps to the
version attribute. |
void |
setConstraint(Object aValue)
Sets the value of the property that maps to the choice between the
Filter and CqlText elements. |
void |
setVersion(String aValue)
Sets the value of the property that maps to the
version attribute. |
public static final TLcdDataProperty VERSION_PROPERTY
version
attribute.
The possible values for this property are instances of String
.public static final TLcdDataProperty CONSTRAINT_PROPERTY
Filter
and CqlText
elements.
The possible values for this property are instances of
TLcdOGCFilter
String
public TLcdCSWQueryConstraint(TLcdOGCFilter aFilter, String aVersion)
aFilter
- the filter to useaVersion
- the version of the filter (typically "1.1.0" for CSW 2 and "2.0.0" for CSW 3).public TLcdCSWQueryConstraint()
public TLcdCSWQueryConstraint(TLcdDataType aType)
public String getVersion()
version
attribute.
Query language version
VERSION_PROPERTY
property.public void setVersion(String aValue)
version
attribute.
Query language version
aValue
- the value to set for the VERSION_PROPERTY
property.public Object getConstraint()
Filter
and CqlText
elements.
The possible values for this property are instances of
TLcdOGCFilter
String
CONSTRAINT_PROPERTY
property.public void setConstraint(Object aValue)
Filter
and CqlText
elements.
The possible values for this property are instances of
TLcdOGCFilter
String
aValue
- the value to set for the CONSTRAINT_PROPERTY
property.