Subversion Repository Public Repository

litesoft

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

Diff revisions: vs.
  @@ -3,14 +3,12 @@
3 3 import org.litesoft.orsup.nonpublic.*;
4 4
5 5 public abstract class StoryChangeNamesGO
6 - extends AbstractPONames
7 - {
6 + extends AbstractPONames {
8 7 public static final String OBJECT_NAME = "StoryChange";
9 8
10 9 public static final String DATASTORE_NAME = "org.litesoft.prioritizer.server.pos.StoryChange";
11 10
12 - protected StoryChangeNamesGO( AbstractPONames pBuiltBy, String pParentPath )
13 - {
11 + protected StoryChangeNamesGO( AbstractPONames pBuiltBy, String pParentPath ) {
14 12 super( pBuiltBy, OBJECT_NAME, DATASTORE_NAME, pParentPath );
15 13 }
16 14
  @@ -29,8 +27,7 @@
29 27 */
30 28 public final String aUpdate = mParentPath + "Update";
31 29
32 - public StoryUpdateNames rUpdate()
33 - {
30 + public StoryUpdateNames rUpdate() {
34 31 return (StoryUpdateNames) toOne( this, aUpdate, StoryUpdateNames.Factory.INSTANCE );
35 32 }
36 33
  @@ -46,44 +43,37 @@
46 43
47 44 public static class CollectionOf
48 45 extends StoryChangeNames
49 - implements CollectionOfPONamesAccessor
50 - {
46 + implements CollectionOfPONamesAccessor {
51 47 private String mCollectionPath;
52 48
53 - public CollectionOf( String pCollectionPath )
54 - {
49 + public CollectionOf( String pCollectionPath ) {
55 50 super( null, "" );
56 51
57 52 mCollectionPath = pCollectionPath;
58 53 }
59 54
60 55 @Override
61 - public String getCollectionPath()
62 - {
56 + public String getCollectionPath() {
63 57 return mCollectionPath;
64 58 }
65 59
66 60 @Override
67 - public String toString()
68 - {
61 + public String toString() {
69 62 return "c" + super.toString();
70 63 }
71 64 }
72 65
73 66 public static class Factory
74 - implements IFactory
75 - {
67 + implements IFactory {
76 68 public static final IFactory INSTANCE = new Factory();
77 69
78 70 @Override
79 - public AbstractPONames createToOne( AbstractPONames pBuiltBy, String pParentPath )
80 - {
71 + public AbstractPONames createToOne( AbstractPONames pBuiltBy, String pParentPath ) {
81 72 return new StoryChangeNames( pBuiltBy, pParentPath );
82 73 }
83 74
84 75 @Override
85 - public AbstractPONames createToMany( String pCollectionPath )
86 - {
76 + public AbstractPONames createToMany( String pCollectionPath ) {
87 77 return new StoryChangeNames.CollectionOf( pCollectionPath );
88 78 }
89 79 }