Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/Java/DATT/src/org/litesoft/datt/server/pos/ToDoTaskNamesGO.java

Diff revisions: vs.
  @@ -3,14 +3,12 @@
3 3 import org.litesoft.orsup.nonpublic.*;
4 4
5 5 public abstract class ToDoTaskNamesGO
6 - extends AbstractPONames
7 - {
6 + extends AbstractPONames {
8 7 public static final String OBJECT_NAME = "ToDoTask";
9 8
10 9 public static final String DATASTORE_NAME = "org.litesoft.datt.server.pos.ToDoTask";
11 10
12 - protected ToDoTaskNamesGO( AbstractPONames pBuiltBy, String pParentPath )
13 - {
11 + protected ToDoTaskNamesGO( AbstractPONames pBuiltBy, String pParentPath ) {
14 12 super( pBuiltBy, OBJECT_NAME, DATASTORE_NAME, pParentPath );
15 13 }
16 14
  @@ -34,51 +32,43 @@
34 32 */
35 33 public final String aStory = mParentPath + "Story";
36 34
37 - public ToDoStoryNames rStory()
38 - {
35 + public ToDoStoryNames rStory() {
39 36 return (ToDoStoryNames) toOne( this, aStory, ToDoStoryNames.Factory.INSTANCE );
40 37 }
41 38
42 39 public static class CollectionOf
43 40 extends ToDoTaskNames
44 - implements CollectionOfPONamesAccessor
45 - {
41 + implements CollectionOfPONamesAccessor {
46 42 private String mCollectionPath;
47 43
48 - public CollectionOf( String pCollectionPath )
49 - {
44 + public CollectionOf( String pCollectionPath ) {
50 45 super( null, "" );
51 46
52 47 mCollectionPath = pCollectionPath;
53 48 }
54 49
55 50 @Override
56 - public String getCollectionPath()
57 - {
51 + public String getCollectionPath() {
58 52 return mCollectionPath;
59 53 }
60 54
61 55 @Override
62 - public String toString()
63 - {
56 + public String toString() {
64 57 return "c" + super.toString();
65 58 }
66 59 }
67 60
68 61 public static class Factory
69 - implements IFactory
70 - {
62 + implements IFactory {
71 63 public static final IFactory INSTANCE = new Factory();
72 64
73 65 @Override
74 - public AbstractPONames createToOne( AbstractPONames pBuiltBy, String pParentPath )
75 - {
66 + public AbstractPONames createToOne( AbstractPONames pBuiltBy, String pParentPath ) {
76 67 return new ToDoTaskNames( pBuiltBy, pParentPath );
77 68 }
78 69
79 70 @Override
80 - public AbstractPONames createToMany( String pCollectionPath )
81 - {
71 + public AbstractPONames createToMany( String pCollectionPath ) {
82 72 return new ToDoTaskNames.CollectionOf( pCollectionPath );
83 73 }
84 74 }