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(java.io.Serializable id,
java.lang.String type) |
ObjectIdentity createObjectIdentity(java.io.Serializable id, java.lang.String type)
id
- the identifier of the domain object, not nulltype
- the type of the object (often a class name), not null