Package com.appiancorp.suiteapi.common
Interface RemoteStringId
- All Superinterfaces:
LocalStringId
This bean represents the remote identifier of an object.
The remote identifier is used to identify an object outside the scope
of one application instance.
The
id
property represents the local identifier of the object
within the scope of the specified application instance. When the
id
property is valid within the current application instance,
the instanceId
property may be null
.
Remote identifiers are used when the application instance that owns
the object cannot be assumed unique, e.g. in replicated and synchronized
application instances.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the instance identifier of the applicaiton owning this object.void
setInstanceId
(Long id_) Sets the instance identifier of the application owning this object.Methods inherited from interface com.appiancorp.suiteapi.common.LocalStringId
getStringId, setStringId
-
Method Details
-
getInstanceId
Long getInstanceId()Returns the instance identifier of the applicaiton owning this object.- Returns:
- the instance identifier of the application owning this object,
null
if the object is only locally identified. - See Also:
-
setInstanceId
Sets the instance identifier of the application owning this object.- Parameters:
id_
- the instance identifier.- See Also:
-