Interface RemoteId

All Superinterfaces:
LocalId, Serializable

public interface RemoteId extends LocalId
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 Type
    Method
    Description
    Returns the instance identifier of the application owning this object.
    void
    Sets the instance identifier of the application owning this object.

    Methods inherited from interface com.appiancorp.suiteapi.common.LocalId

    getId, setId
  • Method Details

    • getInstanceId

      Long getInstanceId()
      Returns the instance identifier of the application owning this object.
      Returns:
      the instance identifier of the application owning this object, null if the object is only locally identified.
      See Also:
    • setInstanceId

      void setInstanceId(Long id_)
      Sets the instance identifier of the application owning this object.
      Parameters:
      id_ - The instance identifier
      See Also: