litesoft
Diff Revisions
150
vs
151
for /trunk/Java/core/Server/tests/org/litesoft/or/DBTagPO.java
|
@@ -1,6 +1,8 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
2 |
2 |
|
package org.litesoft.or; |
3 |
3 |
|
|
|
4 |
+ |
import java.sql.*; |
|
5 |
+ |
|
4 |
6 |
|
import org.litesoft.bo.attributes.*; |
5 |
7 |
|
import org.litesoft.core.util.*; |
6 |
8 |
|
import org.litesoft.orsup.base.*; |
|
@@ -10,8 +12,6 @@ |
10 |
12 |
|
import org.litesoft.orsup.selection.*; |
11 |
13 |
|
import org.litesoft.orsup.transact.*; |
12 |
14 |
|
|
13 |
|
- |
import java.sql.*; |
14 |
|
- |
|
15 |
15 |
|
public abstract class DBTagPO extends PersistentObjectImpl<DBTag> |
16 |
16 |
|
{ |
17 |
17 |
|
private static final ConstructionControl CONSTRUCTION_CONTROL = new ConstructionControl(); |
|
@@ -70,8 +70,7 @@ |
70 |
70 |
|
mLastModified = pLastModified; |
71 |
71 |
|
} |
72 |
72 |
|
|
73 |
|
- |
private static class AttributeAccessor_LastModified |
74 |
|
- |
extends AttributeAccessorSCDsimplePersistedSysSetOnly<DBTag> implements NonImportableFeature |
|
73 |
+ |
private static class AttributeAccessor_LastModified extends AttributeAccessorSCDsimplePersistedSysSetOnly<DBTag> implements NonImportableFeature |
75 |
74 |
|
{ |
76 |
75 |
|
public AttributeAccessor_LastModified() |
77 |
76 |
|
{ |
|
@@ -104,8 +103,7 @@ |
104 |
103 |
|
mID = pID; |
105 |
104 |
|
} |
106 |
105 |
|
|
107 |
|
- |
private static class AttributeAccessor_ID extends AttributeAccessorSCDsimplePersistedReadOnly<DBTag> |
108 |
|
- |
implements NonImportableFeature |
|
106 |
+ |
private static class AttributeAccessor_ID extends AttributeAccessorSCDsimplePersistedReadOnly<DBTag> implements NonImportableFeature |
109 |
107 |
|
{ |
110 |
108 |
|
public AttributeAccessor_ID() |
111 |
109 |
|
{ |
|
@@ -123,11 +121,9 @@ |
123 |
121 |
|
} |
124 |
122 |
|
} |
125 |
123 |
|
|
126 |
|
- |
public static final AttributeAccessorSCDtoOneRegular<DBTag, DBInvoice> CD_Invoice = |
127 |
|
- |
new AttributeAccessor_Invoice(); |
|
124 |
+ |
public static final AttributeAccessorSCDtoOneRegular<DBTag, DBInvoice> CD_Invoice = new AttributeAccessor_Invoice(); |
128 |
125 |
|
|
129 |
|
- |
protected LazyLoadToOneRegular<DBTag, DBInvoice> mInvoice = |
130 |
|
- |
new LazyLoadToOneRegular<DBTag, DBInvoice>( (DBTag) this, CD_Invoice ); |
|
126 |
+ |
protected LazyLoadToOneRegular<DBTag, DBInvoice> mInvoice = new LazyLoadToOneRegular<DBTag, DBInvoice>( (DBTag) this, CD_Invoice ); |
131 |
127 |
|
|
132 |
128 |
|
public DBInvoice getInvoice() |
133 |
129 |
|
{ |
|
@@ -143,8 +139,7 @@ |
143 |
139 |
|
{ |
144 |
140 |
|
public AttributeAccessor_Invoice() |
145 |
141 |
|
{ |
146 |
|
- |
super( "Invoice", "invoice_id", DBInvoice.class, "ID", "DBTagSetForInvoice", false, true, Mutability.RW |
147 |
|
- |
); |
|
142 |
+ |
super( "Invoice", "invoice_id", DBInvoice.class, "ID", "DBTagSetForInvoice", false, true, Mutability.RW ); |
148 |
143 |
|
} |
149 |
144 |
|
|
150 |
145 |
|
public LazyLoadToOneRegular<DBTag, DBInvoice> getValueHolder( DBTag pPO ) |