|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@XmlElement(value="FeatureId") public interface FeatureId
Feature identifier.
Features are identified as strings.
Field Summary | |
---|---|
static char |
VERSION_SEPARATOR
|
Method Summary | |
---|---|
boolean |
equalsExact(FeatureId id)
Check if the provided FeatureId is an exact match (including any optional version information). |
boolean |
equalsFID(FeatureId id)
Checks if the provided FeatureId reflects the same feature. |
String |
getFeatureVersion()
Version identifier for the feature instance, may be null |
String |
getID()
The identifier value, which is a string. |
String |
getPreviousRid()
previousRid attribute may be used, in implementations that support versioning, to report the previous identifier of a resource. |
String |
getRid()
id of the resource that shall be selected by the predicate. |
boolean |
matches(Object feature)
Evaluates the identifer value against the given feature. |
Methods inherited from interface Identifier |
---|
equals, hashCode, toString |
Field Detail |
---|
static final char VERSION_SEPARATOR
Method Detail |
---|
@XmlElement(value="fid") String getID()
getID
in interface Identifier
boolean matches(Object feature)
matches
in interface Identifier
feature
- The feature to be tested.
true
if a match, otherwise false
.boolean equalsExact(FeatureId id)
id
-
boolean equalsFID(FeatureId id)
This comparison does not compare any optional version information.
id
-
@XmlElement(value="rid") String getRid()
Equals to getID()
if no feature version is provided, or
getID() + "@" + getFeatureVersion()
if getFeatureVersion() != null
If an implementation that references this International Standard supports versioning, the rid shall be a system generated hash containing a logical resource identifier and a version number. The specific details of the hash are implementation dependant and shall be opaque to a client
If versioning is not supported, the same value than getID()
shall be
returned.
@XmlElement(value="previousRid") String getPreviousRid()
null
String getFeatureVersion()
null
null
if not availablegetID()
,
getRid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |