Modifier and Type | Method and Description |
---|---|
EntityProxyId<?> |
stableId()
Returns the
EntityProxyId that identifies a particular instance of
the type proxied by the receiver. |
EntityProxyId<?> stableId()
EntityProxyId
that identifies a particular instance of
the type proxied by the receiver.
An id returned by a proxy newly created by RequestContext.create(java.lang.Class<T>)
equals
those returned later by proxies to the
persisted object.
Subtypes should override to declare they return a stable id of their own
type, to allow type safe use of the request objects returned by
RequestFactory.find(EntityProxyId)
.
EntityProxyId
instance