|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tranql.ejb.CompoundPKTransform
public class CompoundPKTransform
Identity transform that will return an new instance of the EJB primary key for a cache row. The PK instance is instantiated and initialized using reflection.
Constructor Summary | |
---|---|
CompoundPKTransform(CacheTable table,
java.lang.Class pkClass,
java.util.List fieldNames)
|
Method Summary | |
---|---|
java.lang.Object |
getDomainIdentity(GlobalIdentity globalId)
|
GlobalIdentity |
getGlobalIdentity(java.lang.Object domainId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompoundPKTransform(CacheTable table, java.lang.Class pkClass, java.util.List fieldNames)
Method Detail |
---|
public GlobalIdentity getGlobalIdentity(java.lang.Object domainId) throws IdentityTransformException
getGlobalIdentity
in interface IdentityTransform
IdentityTransformException
public java.lang.Object getDomainIdentity(GlobalIdentity globalId) throws IdentityTransformException
getDomainIdentity
in interface IdentityTransform
IdentityTransformException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |