public class ObjectIdentityRetrievalStrategyImpl extends 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(Serializable id,
String type) |
ObjectIdentity |
getObjectIdentity(Object domainObject) |
public ObjectIdentity getObjectIdentity(Object domainObject)
getObjectIdentity
in interface ObjectIdentityRetrievalStrategy
public ObjectIdentity createObjectIdentity(Serializable id, String type)
createObjectIdentity
in interface ObjectIdentityGenerator
id
- the identifier of the domain object, not nulltype
- the type of the object (often a class name), not null