litesoft
Diff Revisions
947
vs
948
for /trunk/GWT_Sandbox/InitFrom/src/org/litesoft/initfrom/server/pos/TaskTemplateNamesGO.java
|
@@ -3,14 +3,12 @@ |
3 |
3 |
|
import org.litesoft.orsup.nonpublic.*; |
4 |
4 |
|
|
5 |
5 |
|
public abstract class TaskTemplateNamesGO |
6 |
|
- |
extends AbstractPONames |
7 |
|
- |
{ |
|
6 |
+ |
extends AbstractPONames { |
8 |
7 |
|
public static final String OBJECT_NAME = "TaskTemplate"; |
9 |
8 |
|
|
10 |
9 |
|
public static final String DATASTORE_NAME = "org.litesoft.initfrom.server.pos.TaskTemplate"; |
11 |
10 |
|
|
12 |
|
- |
protected TaskTemplateNamesGO( AbstractPONames pBuiltBy, String pParentPath ) |
13 |
|
- |
{ |
|
11 |
+ |
protected TaskTemplateNamesGO( AbstractPONames pBuiltBy, String pParentPath ) { |
14 |
12 |
|
super( pBuiltBy, OBJECT_NAME, DATASTORE_NAME, pParentPath ); |
15 |
13 |
|
} |
16 |
14 |
|
|
|
@@ -29,51 +27,43 @@ |
29 |
27 |
|
*/ |
30 |
28 |
|
public final String aStoryTemplate = mParentPath + "StoryTemplate"; |
31 |
29 |
|
|
32 |
|
- |
public StoryTemplateNames rStoryTemplate() |
33 |
|
- |
{ |
|
30 |
+ |
public StoryTemplateNames rStoryTemplate() { |
34 |
31 |
|
return (StoryTemplateNames) toOne( this, aStoryTemplate, StoryTemplateNames.Factory.INSTANCE ); |
35 |
32 |
|
} |
36 |
33 |
|
|
37 |
34 |
|
public static class CollectionOf |
38 |
35 |
|
extends TaskTemplateNames |
39 |
|
- |
implements CollectionOfPONamesAccessor |
40 |
|
- |
{ |
|
36 |
+ |
implements CollectionOfPONamesAccessor { |
41 |
37 |
|
private String mCollectionPath; |
42 |
38 |
|
|
43 |
|
- |
public CollectionOf( String pCollectionPath ) |
44 |
|
- |
{ |
|
39 |
+ |
public CollectionOf( String pCollectionPath ) { |
45 |
40 |
|
super( null, "" ); |
46 |
41 |
|
|
47 |
42 |
|
mCollectionPath = pCollectionPath; |
48 |
43 |
|
} |
49 |
44 |
|
|
50 |
45 |
|
@Override |
51 |
|
- |
public String getCollectionPath() |
52 |
|
- |
{ |
|
46 |
+ |
public String getCollectionPath() { |
53 |
47 |
|
return mCollectionPath; |
54 |
48 |
|
} |
55 |
49 |
|
|
56 |
50 |
|
@Override |
57 |
|
- |
public String toString() |
58 |
|
- |
{ |
|
51 |
+ |
public String toString() { |
59 |
52 |
|
return "c" + super.toString(); |
60 |
53 |
|
} |
61 |
54 |
|
} |
62 |
55 |
|
|
63 |
56 |
|
public static class Factory |
64 |
|
- |
implements IFactory |
65 |
|
- |
{ |
|
57 |
+ |
implements IFactory { |
66 |
58 |
|
public static final IFactory INSTANCE = new Factory(); |
67 |
59 |
|
|
68 |
60 |
|
@Override |
69 |
|
- |
public AbstractPONames createToOne( AbstractPONames pBuiltBy, String pParentPath ) |
70 |
|
- |
{ |
|
61 |
+ |
public AbstractPONames createToOne( AbstractPONames pBuiltBy, String pParentPath ) { |
71 |
62 |
|
return new TaskTemplateNames( pBuiltBy, pParentPath ); |
72 |
63 |
|
} |
73 |
64 |
|
|
74 |
65 |
|
@Override |
75 |
|
- |
public AbstractPONames createToMany( String pCollectionPath ) |
76 |
|
- |
{ |
|
66 |
+ |
public AbstractPONames createToMany( String pCollectionPath ) { |
77 |
67 |
|
return new TaskTemplateNames.CollectionOf( pCollectionPath ); |
78 |
68 |
|
} |
79 |
69 |
|
} |