Package com.luciad.ogc.filter.model
Class TLcdOGCResourceId
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.filter.model.TLcdOGCResourceId
- All Implemented Interfaces:
ILcdDataObject
,ILcdGenericExpression
,ILcdOGCCondition
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
This class represents an OGC Filter 2.0 resource ID.
You should use this in combination with a TLcdOGCResourceIdsOperator
, see also TLcdOGCFilterFactory.resourceIds(String...)
.
When evaluating
a condition with resource IDs, the evaluator will compare the rid
with the object's ID,
defined by a ILcdOGCFeatureIDRetriever
(typically through TLcdPrimaryKeyAnnotation
).
The version
and date
properties are ignored.
When serialized to an OGC Filter 1.1 (for example WFS 1), the resource ID condition is translated to object IDs on the filter.
- Since:
- 2017.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to theendDate
attribute.static final TLcdDataProperty
Data property that maps to thepreviousRid
attribute.static final TLcdDataProperty
Data property that maps to therid
attribute.static final TLcdDataProperty
Data property that maps to thestartDate
attribute.static final TLcdDataProperty
Data property that maps to theversion
attribute. -
Constructor Summary
ConstructorDescriptionCreate a new, empty resource ID.TLcdOGCResourceId
(String aID) Create a new resource ID for the given ID. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the value of the property that maps to theendDate
attribute.Returns the value of the property that maps to thepreviousRid
attribute.getRid()
Returns the value of the property that maps to therid
attribute.Returns the value of the property that maps to thestartDate
attribute.Returns the value of the property that maps to theversion
attribute.int
hashCode()
void
setEndDate
(XMLGregorianCalendar aValue) Sets the value of the property that maps to theendDate
attribute.void
setPreviousRid
(String aValue) Sets the value of the property that maps to thepreviousRid
attribute.void
Sets the value of the property that maps to therid
attribute.void
setStartDate
(XMLGregorianCalendar aValue) Sets the value of the property that maps to thestartDate
attribute.void
setVersion
(Object aValue) Sets the value of the property that maps to theversion
attribute.
-
Field Details
-
END_DATE_PROPERTY
Data property that maps to theendDate
attribute. The possible values for this property are instances ofjavax.xml.datatype.XMLGregorianCalendar
. -
PREVIOUS_RID_PROPERTY
Data property that maps to thepreviousRid
attribute. The possible values for this property are instances ofjava.lang.String
. -
RID_PROPERTY
Data property that maps to therid
attribute. The possible values for this property are instances ofjava.lang.String
. -
START_DATE_PROPERTY
Data property that maps to thestartDate
attribute. The possible values for this property are instances ofjavax.xml.datatype.XMLGregorianCalendar
. -
VERSION_PROPERTY
Data property that maps to theversion
attribute. The possible values for this property are instances ofjava.lang.String
: one of "FIRST", "LAST", "PREVIOUS", "NEXT", "ALL"long
javax.xml.datatype.XMLGregorianCalendar
-
-
Constructor Details
-
TLcdOGCResourceId
public TLcdOGCResourceId()Create a new, empty resource ID. Prefer the self-containedTLcdOGCResourceId(String)
instead. If not, be sure to usesetRid(String)
to initialize your instance properly. -
TLcdOGCResourceId
Create a new resource ID for the given ID.- Parameters:
aID
- The ID.
-
-
Method Details
-
getEndDate
Returns the value of the property that maps to theendDate
attribute.- Returns:
- the value of the
END_DATE_PROPERTY
property.
-
setEndDate
Sets the value of the property that maps to theendDate
attribute.- Parameters:
aValue
- the value to set for theEND_DATE_PROPERTY
property.
-
getPreviousRid
Returns the value of the property that maps to thepreviousRid
attribute.- Returns:
- the value of the
PREVIOUS_RID_PROPERTY
property.
-
setPreviousRid
Sets the value of the property that maps to thepreviousRid
attribute.- Parameters:
aValue
- the value to set for thePREVIOUS_RID_PROPERTY
property.
-
getRid
Returns the value of the property that maps to therid
attribute.- Returns:
- the value of the
RID_PROPERTY
property.
-
setRid
Sets the value of the property that maps to therid
attribute.- Parameters:
aValue
- the value to set for theRID_PROPERTY
property.
-
getStartDate
Returns the value of the property that maps to thestartDate
attribute.- Returns:
- the value of the
START_DATE_PROPERTY
property.
-
setStartDate
Sets the value of the property that maps to thestartDate
attribute.- Parameters:
aValue
- the value to set for theSTART_DATE_PROPERTY
property.
-
getVersion
Returns the value of the property that maps to theversion
attribute.The possible values for this property are instances of
java.lang.String
: one of "FIRST", "LAST", "PREVIOUS", "NEXT", "ALL"long
javax.xml.datatype.XMLGregorianCalendar
- Returns:
- the value of the
VERSION_PROPERTY
property.
-
setVersion
Sets the value of the property that maps to theversion
attribute.The possible values for this property are instances of
java.lang.String
: one of "FIRST", "LAST", "PREVIOUS", "NEXT", "ALL".long
javax.xml.datatype.XMLGregorianCalendar
- Parameters:
aValue
- the value to set for theVERSION_PROPERTY
property.
-
equals
-
hashCode
public int hashCode()
-