litesoft
Diff Revisions
150
vs
151
for /trunk/Java/core/Server/src/org/litesoft/orsup/lazyload/AbstractLazyLoadToOne.java
|
@@ -4,8 +4,7 @@ |
4 |
4 |
|
import org.litesoft.orsup.base.*; |
5 |
5 |
|
import org.litesoft.orsup.nonpublic.*; |
6 |
6 |
|
|
7 |
|
- |
public abstract class AbstractLazyLoadToOne<Owner extends PersistentObjectImpl, Them extends PersistentObjectImpl> |
8 |
|
- |
extends AbstractLazyLoadTo<Owner, Them> |
|
7 |
+ |
public abstract class AbstractLazyLoadToOne<Owner extends PersistentObjectImpl, Them extends PersistentObjectImpl> extends AbstractLazyLoadTo<Owner, Them> |
9 |
8 |
|
{ |
10 |
9 |
|
protected Them mValue = null; |
11 |
10 |
|
protected Object mDBValue = null; |
|
@@ -110,14 +109,12 @@ |
110 |
109 |
|
mValue = pNewThem; |
111 |
110 |
|
} |
112 |
111 |
|
|
113 |
|
- |
public final Object extract_db_value( PersistentObjectImpl pNewThem, |
114 |
|
- |
String pBackRefAttributeNameOnNewThem ) |
|
112 |
+ |
public final Object extract_db_value( PersistentObjectImpl pNewThem, String pBackRefAttributeNameOnNewThem ) |
115 |
113 |
|
{ |
116 |
114 |
|
return (pNewThem == null) ? null : LL_extract_db_value( pNewThem, pBackRefAttributeNameOnNewThem ); |
117 |
115 |
|
} |
118 |
116 |
|
|
119 |
|
- |
private AbstractLazyLoadToMany<Them, Owner> getToManyLazyLoader( Them pThem, |
120 |
|
- |
String pBackRefAttributeNameOnNewThem ) |
|
117 |
+ |
private AbstractLazyLoadToMany<Them, Owner> getToManyLazyLoader( Them pThem, String pBackRefAttributeNameOnNewThem ) |
121 |
118 |
|
{ |
122 |
119 |
|
checkTransactions( pThem ); |
123 |
120 |
|
MetaDataForPO zMDForPO = pThem.getMetaDataForPO(); |
|
@@ -131,6 +128,5 @@ |
131 |
128 |
|
/** |
132 |
129 |
|
* @param pNewThem !null |
133 |
130 |
|
*/ |
134 |
|
- |
abstract protected Object LL_extract_db_value( PersistentObjectImpl pNewThem, |
135 |
|
- |
String pBackRefAttributeNameOnNewThem ); |
|
131 |
+ |
abstract protected Object LL_extract_db_value( PersistentObjectImpl pNewThem, String pBackRefAttributeNameOnNewThem ); |
136 |
132 |
|
} |