java.lang.Object
com.genologics.ri.ExternalId
- All Implemented Interfaces:
Locatable,Serializable
An external id is a reference to an identifier in an external system that
contains additional information about a representation within the API.
External id is supported on representations that contain links back to external systems.
External id consists of two different URI type elements: id and URI. ID is the URI referencing the external system, and provides context and identification of the representation within that system. URI is the URI within the system, and provides a means of looking up the representation that the external id is associated with.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ExternalId(URI id) Constructor with id.ExternalId(URI id, URI uri) Constructor with id and URI. -
Method Summary
-
Field Details
-
id
The id referencing the external system. -
uri
The URI within the external system.
-
-
Constructor Details
-
ExternalId
public ExternalId()Default constructor. -
ExternalId
Constructor with id.- Parameters:
id- The external id.
-
ExternalId
Constructor with id and URI.- Parameters:
id- The external id.uri- The URI within the external system.
-
-
Method Details
-
getId
Gets the external id.- Returns:
- The external id.
-
setId
Sets the external id.- Parameters:
id- The external id.
-
getUri
Gets the URI within the external system. -
setUri
Sets the URI within the external system.
-