litesoft
Diff Revisions
150
vs
151
for /trunk/Java/core/Server/tests/org/litesoft/or/DBNotePO.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 DBNotePO extends PersistentObjectImpl<DBNote> |
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 extends AttributeAccessorSCDsimplePersistedSysSetOnly<DBNote> |
74 |
|
- |
implements NonImportableFeature |
|
73 |
+ |
private static class AttributeAccessor_LastModified extends AttributeAccessorSCDsimplePersistedSysSetOnly<DBNote> 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<DBNote> |
108 |
|
- |
implements NonImportableFeature |
|
106 |
+ |
private static class AttributeAccessor_ID extends AttributeAccessorSCDsimplePersistedReadOnly<DBNote> implements NonImportableFeature |
109 |
107 |
|
{ |
110 |
108 |
|
public AttributeAccessor_ID() |
111 |
109 |
|
{ |
|
@@ -125,8 +123,7 @@ |
125 |
123 |
|
|
126 |
124 |
|
public static final AttributeAccessorSCDtoOneVariable<DBNote> CD_Owner = new AttributeAccessor_Owner(); |
127 |
125 |
|
|
128 |
|
- |
protected LazyLoadToOneVariable<DBNote> mOwner = |
129 |
|
- |
new LazyLoadToOneVariable<DBNote>( (DBNote) this, CD_Owner ); |
|
126 |
+ |
protected LazyLoadToOneVariable<DBNote> mOwner = new LazyLoadToOneVariable<DBNote>( (DBNote) this, CD_Owner ); |
130 |
127 |
|
|
131 |
128 |
|
public PersistentObjectImpl getOwner() |
132 |
129 |
|
{ |
|
@@ -175,8 +172,7 @@ |
175 |
172 |
|
{ |
176 |
173 |
|
public AttributeAccessor_Text() |
177 |
174 |
|
{ |
178 |
|
- |
super( "Text", "Text", false, _Text.with( MaxLength.of( 4000 ) ) |
179 |
|
- |
); |
|
175 |
+ |
super( "Text", "Text", false, _Text.with( MaxLength.of( 4000 ) ) ); |
180 |
176 |
|
} |
181 |
177 |
|
|
182 |
178 |
|
public Object getValueOnPO( DBNote pPO ) |