Interface ObjectIdentityGenerator
- All Known Implementing Classes:
ObjectIdentityRetrievalStrategyImpl
public interface ObjectIdentityGenerator
Strategy which creates an
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.
- Since:
- 3.0
-
Method Summary
-
Method Details
-
createObjectIdentity
- Parameters:
id
- the identifier of the domain object, not nulltype
- the type of the object (often a class name), not null- Returns:
- the identity constructed using the supplied identifier and type information.
-