public class ObjectIdentityRetrievalStrategyImpl extends java.lang.Object implements ObjectIdentityRetrievalStrategy, ObjectIdentityGenerator
ObjectIdentityRetrievalStrategy and
ObjectIdentityGenerator that uses the constructors of
ObjectIdentityImpl to create the ObjectIdentity.| Constructor and Description |
|---|
ObjectIdentityRetrievalStrategyImpl() |
| Modifier and Type | Method and Description |
|---|---|
ObjectIdentity |
createObjectIdentity(java.io.Serializable id,
java.lang.String type) |
ObjectIdentity |
getObjectIdentity(java.lang.Object domainObject) |
public ObjectIdentity getObjectIdentity(java.lang.Object domainObject)
getObjectIdentity in interface ObjectIdentityRetrievalStrategypublic ObjectIdentity createObjectIdentity(java.io.Serializable id, java.lang.String type)
createObjectIdentity in interface ObjectIdentityGeneratorid - the identifier of the domain object, not nulltype - the type of the object (often a class name), not null