|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ojb.broker.core.IdentityFactoryImpl
IdentityFactory| Constructor Summary | |
IdentityFactoryImpl(PersistenceBroker broker)
|
|
| Method Summary | |
Identity |
buildIdentity(java.lang.Class realClass,
java.lang.Class topLevelClass,
java.lang.Object[] pkValues)
Create a new Identity object based on given arguments - NOTE: There
will be no check to resolve the order of the PK values. |
Identity |
buildIdentity(java.lang.Class realClass,
java.lang.Class topLevelClass,
java.lang.String[] pkFieldNames,
java.lang.Object[] pkValues)
Build a unique Identity
for the given primary key values (composite PK's) of a
persistence capable object. |
Identity |
buildIdentity(ClassDescriptor cld,
java.lang.Object obj)
Build a unique Identity for the given
persistence capable object. |
Identity |
buildIdentity(java.lang.Class realClass,
java.lang.Object pkValue)
Convenience method for persistent objects with single primary key. |
Identity |
buildIdentity(java.lang.Class realClass,
java.lang.String[] pkFieldNames,
java.lang.Object[] pkValues)
Convenience method for buildIdentity(java.lang.Class, java.lang.Class, java.lang.String[], java.lang.Object[]) |
Identity |
buildIdentity(java.lang.Object obj)
Build a unique Identity for the given
persistence capable object. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IdentityFactoryImpl(PersistenceBroker broker)
| Method Detail |
public Identity buildIdentity(java.lang.Object obj)
IdentityFactoryIdentity for the given
persistence capable object.
buildIdentity in interface IdentityFactoryobj - The object to build the Identity for.
IdentityFactory.buildIdentity(java.lang.Object)
public Identity buildIdentity(ClassDescriptor cld,
java.lang.Object obj)
IdentityFactoryIdentity for the given
persistence capable object.
buildIdentity in interface IdentityFactorycld - The ClassDescriptor of the
object.obj - The object to build the Identity for.
IdentityFactory.buildIdentity(java.lang.Object)
public Identity buildIdentity(java.lang.Class realClass,
java.lang.Class topLevelClass,
java.lang.String[] pkFieldNames,
java.lang.Object[] pkValues)
IdentityFactoryIdentity
for the given primary key values (composite PK's) of a
persistence capable object.
buildIdentity in interface IdentityFactoryrealClass - The class of the associated object.topLevelClass - The top-level class of the associated object.pkFieldNames - The field names of the PK fields.pkValues - The PK values.
IdentityFactory.buildIdentity(java.lang.Class, java.lang.Class, java.lang.String[], java.lang.Object[])
public Identity buildIdentity(java.lang.Class realClass,
java.lang.String[] pkFieldNames,
java.lang.Object[] pkValues)
IdentityFactoryIdentityFactory.buildIdentity(java.lang.Class, java.lang.Class, java.lang.String[], java.lang.Object[])
buildIdentity in interface IdentityFactoryIdentityFactory.buildIdentity(java.lang.Class, java.lang.String[], java.lang.Object[])
public Identity buildIdentity(java.lang.Class realClass,
java.lang.Class topLevelClass,
java.lang.Object[] pkValues)
IdentityFactoryIdentity object based on given arguments - NOTE: There
will be no check to resolve the order of the PK values. This method expect
the correct order.
buildIdentity in interface IdentityFactoryrealClass - The class of the associated object.topLevelClass - The top-level class of the associated object.pkValues - The PK values.
IdentityFactory.buildIdentity(java.lang.Class, java.lang.String[], java.lang.Object[])
public Identity buildIdentity(java.lang.Class realClass,
java.lang.Object pkValue)
IdentityFactory
buildIdentity in interface IdentityFactoryrealClass - The class of the associated object.pkValue - The PK value.
IdentityFactory.buildIdentity(java.lang.Class, java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||