public interface Id extends OsidPrimitive, Id
Id represents an identifier object. Ids are designated
by the following elements:
identifier: a unique key or guid namespace: the namespace of the identifier authority: the issuer of the identifier Two Ids are equal if their namespace, identifier and authority strings
are equal. Only the identifier is case-sensitive. Persisting an Id
means persisting the above components.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthority()
Gets the authority of this
Id. |
java.lang.String |
getIdentifier()
Gets the identifier of this
Id. |
java.lang.String |
getIdentifierNamespace()
Gets the namespace of the identifier.
|
toStringjava.lang.String getAuthority()
Id. The authority is a
string used to ensure the uniqueness of this Id when
using a non-federated identifier space. Generally, it is a service
name identifying the provider of this Id. This method
is used to compare one Id to another. Id mandatory - This method must be implemented. java.lang.String getIdentifierNamespace()
Id to another. Id mandatory - This method must be implemented. java.lang.String getIdentifier()
Id. This method is used to
compare one Id to another. Id mandatory - This method must be implemented.