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, and endTime shall be ignored and the predicate shall always select the single version that is available.

    • Method Detail

      • getVersion

        Version getVersion()
        Used to navigate versions of a resource.

        Returns:
        Version based resource query; non null but possibly empty 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.Range instead 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.Range instead of both start and end time?