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
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to theendDateattribute.static final TLcdDataPropertyData property that maps to thepreviousRidattribute.static final TLcdDataPropertyData property that maps to theridattribute.static final TLcdDataPropertyData property that maps to thestartDateattribute.static final TLcdDataPropertyData property that maps to theversionattribute. -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new, empty resource ID.TLcdOGCResourceId(String aID) Create a new resource ID for the given ID. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of the property that maps to theendDateattribute.Returns the value of the property that maps to thepreviousRidattribute.getRid()Returns the value of the property that maps to theridattribute.Returns the value of the property that maps to thestartDateattribute.Returns the value of the property that maps to theversionattribute.inthashCode()voidsetEndDate(XMLGregorianCalendar aValue) Sets the value of the property that maps to theendDateattribute.voidsetPreviousRid(String aValue) Sets the value of the property that maps to thepreviousRidattribute.voidSets the value of the property that maps to theridattribute.voidsetStartDate(XMLGregorianCalendar aValue) Sets the value of the property that maps to thestartDateattribute.voidsetVersion(Object aValue) Sets the value of the property that maps to theversionattribute.
-
Field Details
-
END_DATE_PROPERTY
Data property that maps to theendDateattribute. The possible values for this property are instances ofjavax.xml.datatype.XMLGregorianCalendar. -
PREVIOUS_RID_PROPERTY
Data property that maps to thepreviousRidattribute. The possible values for this property are instances ofjava.lang.String. -
RID_PROPERTY
Data property that maps to theridattribute. The possible values for this property are instances ofjava.lang.String. -
START_DATE_PROPERTY
Data property that maps to thestartDateattribute. The possible values for this property are instances ofjavax.xml.datatype.XMLGregorianCalendar. -
VERSION_PROPERTY
Data property that maps to theversionattribute. The possible values for this property are instances ofjava.lang.String: one of "FIRST", "LAST", "PREVIOUS", "NEXT", "ALL"longjavax.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 theendDateattribute.- Returns:
- the value of the
END_DATE_PROPERTYproperty.
-
setEndDate
Sets the value of the property that maps to theendDateattribute.- Parameters:
aValue- the value to set for theEND_DATE_PROPERTYproperty.
-
getPreviousRid
Returns the value of the property that maps to thepreviousRidattribute.- Returns:
- the value of the
PREVIOUS_RID_PROPERTYproperty.
-
setPreviousRid
Sets the value of the property that maps to thepreviousRidattribute.- Parameters:
aValue- the value to set for thePREVIOUS_RID_PROPERTYproperty.
-
getRid
Returns the value of the property that maps to theridattribute.- Returns:
- the value of the
RID_PROPERTYproperty.
-
setRid
Sets the value of the property that maps to theridattribute.- Parameters:
aValue- the value to set for theRID_PROPERTYproperty.
-
getStartDate
Returns the value of the property that maps to thestartDateattribute.- Returns:
- the value of the
START_DATE_PROPERTYproperty.
-
setStartDate
Sets the value of the property that maps to thestartDateattribute.- Parameters:
aValue- the value to set for theSTART_DATE_PROPERTYproperty.
-
getVersion
Returns the value of the property that maps to theversionattribute.The possible values for this property are instances of
java.lang.String: one of "FIRST", "LAST", "PREVIOUS", "NEXT", "ALL"longjavax.xml.datatype.XMLGregorianCalendar
- Returns:
- the value of the
VERSION_PROPERTYproperty.
-
setVersion
Sets the value of the property that maps to theversionattribute.The possible values for this property are instances of
java.lang.String: one of "FIRST", "LAST", "PREVIOUS", "NEXT", "ALL".longjavax.xml.datatype.XMLGregorianCalendar
- Parameters:
aValue- the value to set for theVERSION_PROPERTYproperty.
-
equals
-
hashCode
public int hashCode()
-