Interface ObjectIdentityGenerator
-
- All Known Implementing Classes:
ObjectIdentityRetrievalStrategyImpl
public interface ObjectIdentityGenerator
Strategy which creates anObjectIdentity
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectIdentity
createObjectIdentity(java.io.Serializable id, java.lang.String type)
-
-
-
Method Detail
-
createObjectIdentity
ObjectIdentity createObjectIdentity(java.io.Serializable id, java.lang.String type)
- 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.
-
-