Interface EntityProxy
- All Superinterfaces:
BaseProxy
A proxy for a server-side domain object.
-
Method Summary
Modifier and TypeMethodDescriptionstableId()
Returns theEntityProxyId
that identifies a particular instance of the type proxied by the receiver.
-
Method Details
-
stableId
EntityProxyId<?> stableId()Returns theEntityProxyId
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)
.- Returns:
- an
EntityProxyId
instance
-