public interface ObjectIdentityGenerator
ObjectIdentity
from an object identifier (such as a
primary key) and type information.
Differs from ObjectIdentityRetrievalStrategy
in that it is used in situations
when the actual object instance isn't available.
Modifier and Type | Method and Description |
---|---|
ObjectIdentity |
createObjectIdentity(Serializable id,
String type) |
ObjectIdentity createObjectIdentity(Serializable id, String type)
id
- the identifier of the domain object, not nulltype
- the type of the object (often a class name), not null