|
@@ -7,9 +7,7 @@ |
7 |
7 |
|
import org.litesoft.orsup.selection.*; |
8 |
8 |
|
import org.litesoft.orsup.transact.*; |
9 |
9 |
|
|
10 |
|
- |
public abstract class StoryGO |
11 |
|
- |
extends org.litesoft.orsup.nonpublic.PersistentObjectImpl<Story> |
12 |
|
- |
implements HasAttributes |
|
10 |
+ |
public abstract class StoryGO extends org.litesoft.orsup.nonpublic.PersistentObjectImpl<Story> implements HasAttributes |
13 |
11 |
|
{ |
14 |
12 |
|
private static final ConstructionControl CONSTRUCTION_CONTROL = new ConstructionControl(); |
15 |
13 |
|
|
|
@@ -40,8 +38,7 @@ |
40 |
38 |
|
return mRecordVersion.getRecordVersion(); |
41 |
39 |
|
} |
42 |
40 |
|
|
43 |
|
- |
private static class AttributeAccessor_RecordVersion |
44 |
|
- |
extends AttributeAccessorSCD_RecordVersion<Story> |
|
41 |
+ |
private static class AttributeAccessor_RecordVersion extends AttributeAccessorSCD_RecordVersion<Story> |
45 |
42 |
|
{ |
46 |
43 |
|
public AttributeAccessor_RecordVersion() |
47 |
44 |
|
{ |
|
@@ -70,9 +67,7 @@ |
70 |
67 |
|
mID = pID; |
71 |
68 |
|
} |
72 |
69 |
|
|
73 |
|
- |
private static class AttributeAccessor_ID |
74 |
|
- |
extends AttributeAccessorSCDsimplePersistedSysSetOnly<Story> |
75 |
|
- |
implements NonImportableFeature |
|
70 |
+ |
private static class AttributeAccessor_ID extends AttributeAccessorSCDsimplePersistedSysSetOnly<Story> implements NonImportableFeature |
76 |
71 |
|
{ |
77 |
72 |
|
public AttributeAccessor_ID() |
78 |
73 |
|
{ |
|
@@ -92,10 +87,10 @@ |
92 |
87 |
|
} |
93 |
88 |
|
} |
94 |
89 |
|
|
95 |
|
- |
public static final AttributeAccessorSCDtoOneRegular<Story,User> CD_Creator = new AttributeAccessor_Creator(); |
|
90 |
+ |
public static final AttributeAccessorSCDtoOneRegular<Story, User> CD_Creator = new AttributeAccessor_Creator(); |
96 |
91 |
|
|
97 |
|
- |
protected org.litesoft.orsup.lazyload.LazyLoadToOneRegular<Story,User> mCreator = // |
98 |
|
- |
new org.litesoft.orsup.lazyload.LazyLoadToOneRegular<Story,User>( (Story) this, CD_Creator ); |
|
92 |
+ |
protected org.litesoft.orsup.lazyload.LazyLoadToOneRegular<Story, User> mCreator = // |
|
93 |
+ |
new org.litesoft.orsup.lazyload.LazyLoadToOneRegular<Story, User>( (Story) this, CD_Creator ); |
99 |
94 |
|
|
100 |
95 |
|
public User getCreator() |
101 |
96 |
|
{ |
|
@@ -107,8 +102,7 @@ |
107 |
102 |
|
processLazyLoadMutation( mCreator, pCreator ); |
108 |
103 |
|
} |
109 |
104 |
|
|
110 |
|
- |
private static class AttributeAccessor_Creator |
111 |
|
- |
extends AttributeAccessorSCDtoOneRegular<Story,User> |
|
105 |
+ |
private static class AttributeAccessor_Creator extends AttributeAccessorSCDtoOneRegular<Story, User> |
112 |
106 |
|
{ |
113 |
107 |
|
public AttributeAccessor_Creator() |
114 |
108 |
|
{ |
|
@@ -116,7 +110,7 @@ |
116 |
110 |
|
} |
117 |
111 |
|
|
118 |
112 |
|
@Override |
119 |
|
- |
public org.litesoft.orsup.lazyload.LazyLoadToOneRegular<Story,User> getValueHolder( Story pPO ) |
|
113 |
+ |
public org.litesoft.orsup.lazyload.LazyLoadToOneRegular<Story, User> getValueHolder( Story pPO ) |
120 |
114 |
|
{ |
121 |
115 |
|
return pPO.mCreator; |
122 |
116 |
|
} |
|
@@ -161,8 +155,7 @@ |
161 |
155 |
|
mDescription = pDescription; |
162 |
156 |
|
} |
163 |
157 |
|
|
164 |
|
- |
private static class AttributeAccessor_Description |
165 |
|
- |
extends AttributeAccessorSCDsimplePersistedRegular<Story> |
|
158 |
+ |
private static class AttributeAccessor_Description extends AttributeAccessorSCDsimplePersistedRegular<Story> |
166 |
159 |
|
{ |
167 |
160 |
|
public AttributeAccessor_Description() |
168 |
161 |
|
{ |
|
@@ -198,8 +191,7 @@ |
198 |
191 |
|
mIsDone = pIsDone; |
199 |
192 |
|
} |
200 |
193 |
|
|
201 |
|
- |
private static class AttributeAccessor_IsDone |
202 |
|
- |
extends AttributeAccessorSCDsimplePersistedRegular<Story> |
|
194 |
+ |
private static class AttributeAccessor_IsDone extends AttributeAccessorSCDsimplePersistedRegular<Story> |
203 |
195 |
|
{ |
204 |
196 |
|
public AttributeAccessor_IsDone() |
205 |
197 |
|
{ |
|
@@ -234,8 +226,7 @@ |
234 |
226 |
|
mName = pName; |
235 |
227 |
|
} |
236 |
228 |
|
|
237 |
|
- |
private static class AttributeAccessor_Name |
238 |
|
- |
extends AttributeAccessorSCDsimplePersistedRegular<Story> |
|
229 |
+ |
private static class AttributeAccessor_Name extends AttributeAccessorSCDsimplePersistedRegular<Story> |
239 |
230 |
|
{ |
240 |
231 |
|
public AttributeAccessor_Name() |
241 |
232 |
|
{ |
|
@@ -274,8 +265,7 @@ |
274 |
265 |
|
mPriority = pPriority; |
275 |
266 |
|
} |
276 |
267 |
|
|
277 |
|
- |
private static class AttributeAccessor_Priority |
278 |
|
- |
extends AttributeAccessorSCDsimplePersistedRegular<Story> |
|
268 |
+ |
private static class AttributeAccessor_Priority extends AttributeAccessorSCDsimplePersistedRegular<Story> |
279 |
269 |
|
{ |
280 |
270 |
|
public AttributeAccessor_Priority() |
281 |
271 |
|
{ |
|
@@ -295,10 +285,10 @@ |
295 |
285 |
|
} |
296 |
286 |
|
} |
297 |
287 |
|
|
298 |
|
- |
public static final AttributeAccessorSCDtoOneRegular<Story,RestrictedResource> CD_RestrictedResource = new AttributeAccessor_RestrictedResource(); |
|
288 |
+ |
public static final AttributeAccessorSCDtoOneRegular<Story, RestrictedResource> CD_RestrictedResource = new AttributeAccessor_RestrictedResource(); |
299 |
289 |
|
|
300 |
|
- |
protected org.litesoft.orsup.lazyload.LazyLoadToOneRegular<Story,RestrictedResource> mRestrictedResource = // |
301 |
|
- |
new org.litesoft.orsup.lazyload.LazyLoadToOneRegular<Story,RestrictedResource>( (Story) this, CD_RestrictedResource ); |
|
290 |
+ |
protected org.litesoft.orsup.lazyload.LazyLoadToOneRegular<Story, RestrictedResource> mRestrictedResource = // |
|
291 |
+ |
new org.litesoft.orsup.lazyload.LazyLoadToOneRegular<Story, RestrictedResource>( (Story) this, CD_RestrictedResource ); |
302 |
292 |
|
|
303 |
293 |
|
public RestrictedResource getRestrictedResource() |
304 |
294 |
|
{ |
|
@@ -310,8 +300,7 @@ |
310 |
300 |
|
processLazyLoadMutation( mRestrictedResource, pRestrictedResource ); |
311 |
301 |
|
} |
312 |
302 |
|
|
313 |
|
- |
private static class AttributeAccessor_RestrictedResource |
314 |
|
- |
extends AttributeAccessorSCDtoOneRegular<Story,RestrictedResource> |
|
303 |
+ |
private static class AttributeAccessor_RestrictedResource extends AttributeAccessorSCDtoOneRegular<Story, RestrictedResource> |
315 |
304 |
|
{ |
316 |
305 |
|
public AttributeAccessor_RestrictedResource() |
317 |
306 |
|
{ |
|
@@ -319,7 +308,7 @@ |
319 |
308 |
|
} |
320 |
309 |
|
|
321 |
310 |
|
@Override |
322 |
|
- |
public org.litesoft.orsup.lazyload.LazyLoadToOneRegular<Story,RestrictedResource> getValueHolder( Story pPO ) |
|
311 |
+ |
public org.litesoft.orsup.lazyload.LazyLoadToOneRegular<Story, RestrictedResource> getValueHolder( Story pPO ) |
323 |
312 |
|
{ |
324 |
313 |
|
return pPO.mRestrictedResource; |
325 |
314 |
|
} |
|
@@ -349,10 +338,10 @@ |
349 |
338 |
|
} |
350 |
339 |
|
} |
351 |
340 |
|
|
352 |
|
- |
public static final AttributeAccessorSCDtoOneRegular<Story,StoryTemplate> CD_StoryTemplate = new AttributeAccessor_StoryTemplate(); |
|
341 |
+ |
public static final AttributeAccessorSCDtoOneRegular<Story, StoryTemplate> CD_StoryTemplate = new AttributeAccessor_StoryTemplate(); |
353 |
342 |
|
|
354 |
|
- |
protected org.litesoft.orsup.lazyload.LazyLoadToOneRegular<Story,StoryTemplate> mStoryTemplate = // |
355 |
|
- |
new org.litesoft.orsup.lazyload.LazyLoadToOneRegular<Story,StoryTemplate>( (Story) this, CD_StoryTemplate ); |
|
343 |
+ |
protected org.litesoft.orsup.lazyload.LazyLoadToOneRegular<Story, StoryTemplate> mStoryTemplate = // |
|
344 |
+ |
new org.litesoft.orsup.lazyload.LazyLoadToOneRegular<Story, StoryTemplate>( (Story) this, CD_StoryTemplate ); |
356 |
345 |
|
|
357 |
346 |
|
public StoryTemplate getStoryTemplate() |
358 |
347 |
|
{ |
|
@@ -364,8 +353,7 @@ |
364 |
353 |
|
processLazyLoadMutation( mStoryTemplate, pStoryTemplate ); |
365 |
354 |
|
} |
366 |
355 |
|
|
367 |
|
- |
private static class AttributeAccessor_StoryTemplate |
368 |
|
- |
extends AttributeAccessorSCDtoOneRegular<Story,StoryTemplate> |
|
356 |
+ |
private static class AttributeAccessor_StoryTemplate extends AttributeAccessorSCDtoOneRegular<Story, StoryTemplate> |
369 |
357 |
|
{ |
370 |
358 |
|
public AttributeAccessor_StoryTemplate() |
371 |
359 |
|
{ |
|
@@ -373,7 +361,7 @@ |
373 |
361 |
|
} |
374 |
362 |
|
|
375 |
363 |
|
@Override |
376 |
|
- |
public org.litesoft.orsup.lazyload.LazyLoadToOneRegular<Story,StoryTemplate> getValueHolder( Story pPO ) |
|
364 |
+ |
public org.litesoft.orsup.lazyload.LazyLoadToOneRegular<Story, StoryTemplate> getValueHolder( Story pPO ) |
377 |
365 |
|
{ |
378 |
366 |
|
return pPO.mStoryTemplate; |
379 |
367 |
|
} |
|
@@ -403,10 +391,10 @@ |
403 |
391 |
|
} |
404 |
392 |
|
} |
405 |
393 |
|
|
406 |
|
- |
public static final AttributeAccessorSCDtoManyRegular<Story,Task> CD_Tasks = new AttributeAccessor_Tasks(); |
|
394 |
+ |
public static final AttributeAccessorSCDtoManyRegular<Story, Task> CD_Tasks = new AttributeAccessor_Tasks(); |
407 |
395 |
|
|
408 |
|
- |
protected org.litesoft.orsup.lazyload.LazyLoadToManyRegular<Story,Task> mTasks = // |
409 |
|
- |
new org.litesoft.orsup.lazyload.LazyLoadToManyRegular<Story,Task>( (Story) this, CD_Tasks ); |
|
396 |
+ |
protected org.litesoft.orsup.lazyload.LazyLoadToManyRegular<Story, Task> mTasks = // |
|
397 |
+ |
new org.litesoft.orsup.lazyload.LazyLoadToManyRegular<Story, Task>( (Story) this, CD_Tasks ); |
410 |
398 |
|
|
411 |
399 |
|
public java.util.List<Task> getTasks() |
412 |
400 |
|
{ |
|
@@ -428,8 +416,7 @@ |
428 |
416 |
|
processLazyLoadMutationRemove( mTasks, pTasks ); |
429 |
417 |
|
} |
430 |
418 |
|
|
431 |
|
- |
private static class AttributeAccessor_Tasks |
432 |
|
- |
extends AttributeAccessorSCDtoManyRegular<Story,Task> |
|
419 |
+ |
private static class AttributeAccessor_Tasks extends AttributeAccessorSCDtoManyRegular<Story, Task> |
433 |
420 |
|
{ |
434 |
421 |
|
public AttributeAccessor_Tasks() |
435 |
422 |
|
{ |
|
@@ -437,7 +424,7 @@ |
437 |
424 |
|
} |
438 |
425 |
|
|
439 |
426 |
|
@Override |
440 |
|
- |
public org.litesoft.orsup.lazyload.LazyLoadToManyRegular<Story,Task> getValueHolder( Story pPO ) |
|
427 |
+ |
public org.litesoft.orsup.lazyload.LazyLoadToManyRegular<Story, Task> getValueHolder( Story pPO ) |
441 |
428 |
|
{ |
442 |
429 |
|
return pPO.mTasks; |
443 |
430 |
|
} |
|
@@ -467,8 +454,7 @@ |
467 |
454 |
|
} |
468 |
455 |
|
} |
469 |
456 |
|
|
470 |
|
- |
static class MyMetaData |
471 |
|
- |
extends org.litesoft.orsup.nonpublic.PersistentObjectImplMetaData<Story> |
|
457 |
+ |
static class MyMetaData extends org.litesoft.orsup.nonpublic.PersistentObjectImplMetaData<Story> |
472 |
458 |
|
{ |
473 |
459 |
|
public static final String OBJECT_NAME = "Story"; |
474 |
460 |
|
public static final String TABLE_NAME = "Story"; |