Package org.geotools.api.filter.identity
Interface ResourceId
-
- All Superinterfaces:
FeatureId
,Identifier
- All Known Implementing Classes:
ResourceIdImpl
public interface ResourceId extends FeatureId
Resource identifier as per FES 2.0.Please note this is a query object for use with the Filter Id filter as shown:
Filter filter = filterFactory.id( ff.featureId("CITY.123"), ff.resourceId("CITY.123",Version.Action.PREVIOUS) );
In cases where a plain FetureId is used for lookup it is understood to refer to Version.Action.LAST.If an implementation that references this International Standard does not support versioning, any value specified for the attributes
previousRid
,version
,startTime
, andendTime
shall be ignored and the predicate shall always select the single version that is available.
-
-
Field Summary
-
Fields inherited from interface FeatureId
VERSION_SEPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Date
getEndTime()
Used to select versions of a resource between start and end time.Date
getStartTime()
Used to select versions of a resource between start and end time.Version
getVersion()
Used to navigate versions of a resource.-
Methods inherited from interface FeatureId
equalsExact, equalsFID, getFeatureVersion, getID, getPreviousRid, getRid, matches
-
Methods inherited from interface Identifier
equals, hashCode, toString
-
-
-
-
Method Detail
-
getVersion
Version getVersion()
Used to navigate versions of a resource.- Returns:
- Version based resource query; non
null
but possiblyempty
if used a date range query or asked for a specific feature id + version id
-
getStartTime
Date getStartTime()
Used to select versions of a resource between start and end time.- Returns:
- start time for a time based query; or
null
if using version or an end time was provided but the start time is unconstrained TODO: consider using an org.geotools.util.Rangeinstead of both start and end time?
-
getEndTime
Date getEndTime()
Used to select versions of a resource between start and end time.- Returns:
- end time for a time based query; or
null
if using version or an start time was provided but the end time is unconstrained TODO: consider using an org.geotools.util.Rangeinstead of both start and end time?
-
-