Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/GWT_Sandbox/Prioritizer/src/org/litesoft/prioritizer/server/pos/ToDoStoryNamesGO.java

Diff revisions: vs.
  @@ -3,14 +3,12 @@
3 3 import org.litesoft.orsup.nonpublic.*;
4 4
5 5 public abstract class ToDoStoryNamesGO
6 - extends AbstractPONames
7 - {
6 + extends AbstractPONames {
8 7 public static final String OBJECT_NAME = "ToDoStory";
9 8
10 9 public static final String DATASTORE_NAME = "org.litesoft.prioritizer.server.pos.ToDoStory";
11 10
12 - protected ToDoStoryNamesGO( AbstractPONames pBuiltBy, String pParentPath )
13 - {
11 + protected ToDoStoryNamesGO( AbstractPONames pBuiltBy, String pParentPath ) {
14 12 super( pBuiltBy, OBJECT_NAME, DATASTORE_NAME, pParentPath );
15 13 }
16 14
  @@ -49,56 +47,47 @@
49 47 */
50 48 public final String aTasks = mParentPath + "Tasks";
51 49
52 - public ToDoTaskNames rTasks()
53 - {
50 + public ToDoTaskNames rTasks() {
54 51 return (ToDoTaskNames) toOne( this, aTasks, ToDoTaskNames.Factory.INSTANCE );
55 52 }
56 53
57 - public ToDoTaskNames cTasks()
58 - {
54 + public ToDoTaskNames cTasks() {
59 55 return (ToDoTaskNames) toMany( this, aTasks, ToDoTaskNames.Factory.INSTANCE );
60 56 }
61 57
62 58 public static class CollectionOf
63 59 extends ToDoStoryNames
64 - implements CollectionOfPONamesAccessor
65 - {
60 + implements CollectionOfPONamesAccessor {
66 61 private String mCollectionPath;
67 62
68 - public CollectionOf( String pCollectionPath )
69 - {
63 + public CollectionOf( String pCollectionPath ) {
70 64 super( null, "" );
71 65
72 66 mCollectionPath = pCollectionPath;
73 67 }
74 68
75 69 @Override
76 - public String getCollectionPath()
77 - {
70 + public String getCollectionPath() {
78 71 return mCollectionPath;
79 72 }
80 73
81 74 @Override
82 - public String toString()
83 - {
75 + public String toString() {
84 76 return "c" + super.toString();
85 77 }
86 78 }
87 79
88 80 public static class Factory
89 - implements IFactory
90 - {
81 + implements IFactory {
91 82 public static final IFactory INSTANCE = new Factory();
92 83
93 84 @Override
94 - public AbstractPONames createToOne( AbstractPONames pBuiltBy, String pParentPath )
95 - {
85 + public AbstractPONames createToOne( AbstractPONames pBuiltBy, String pParentPath ) {
96 86 return new ToDoStoryNames( pBuiltBy, pParentPath );
97 87 }
98 88
99 89 @Override
100 - public AbstractPONames createToMany( String pCollectionPath )
101 - {
90 + public AbstractPONames createToMany( String pCollectionPath ) {
102 91 return new ToDoStoryNames.CollectionOf( pCollectionPath );
103 92 }
104 93 }