Subversion Repository Public Repository

litesoft

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

Diff revisions: vs.
  @@ -3,14 +3,12 @@
3 3 import org.litesoft.orsup.nonpublic.*;
4 4
5 5 public abstract class StoryUpdateNamesGO
6 - extends AbstractPONames
7 - {
6 + extends AbstractPONames {
8 7 public static final String OBJECT_NAME = "StoryUpdate";
9 8
10 9 public static final String DATASTORE_NAME = "org.litesoft.prioritizer.server.pos.StoryUpdate";
11 10
12 - protected StoryUpdateNamesGO( AbstractPONames pBuiltBy, String pParentPath )
13 - {
11 + protected StoryUpdateNamesGO( 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 aByWhom = mParentPath + "ByWhom";
31 29
32 - public UserNames rByWhom()
33 - {
30 + public UserNames rByWhom() {
34 31 return (UserNames) toOne( this, aByWhom, UserNames.Factory.INSTANCE );
35 32 }
36 33
  @@ -39,8 +36,7 @@
39 36 */
40 37 public final String aStory = mParentPath + "Story";
41 38
42 - public StoryNames rStory()
43 - {
39 + public StoryNames rStory() {
44 40 return (StoryNames) toOne( this, aStory, StoryNames.Factory.INSTANCE );
45 41 }
46 42
  @@ -49,56 +45,47 @@
49 45 */
50 46 public final String aChanges = mParentPath + "Changes";
51 47
52 - public StoryChangeNames rChanges()
53 - {
48 + public StoryChangeNames rChanges() {
54 49 return (StoryChangeNames) toOne( this, aChanges, StoryChangeNames.Factory.INSTANCE );
55 50 }
56 51
57 - public StoryChangeNames cChanges()
58 - {
52 + public StoryChangeNames cChanges() {
59 53 return (StoryChangeNames) toMany( this, aChanges, StoryChangeNames.Factory.INSTANCE );
60 54 }
61 55
62 56 public static class CollectionOf
63 57 extends StoryUpdateNames
64 - implements CollectionOfPONamesAccessor
65 - {
58 + implements CollectionOfPONamesAccessor {
66 59 private String mCollectionPath;
67 60
68 - public CollectionOf( String pCollectionPath )
69 - {
61 + public CollectionOf( String pCollectionPath ) {
70 62 super( null, "" );
71 63
72 64 mCollectionPath = pCollectionPath;
73 65 }
74 66
75 67 @Override
76 - public String getCollectionPath()
77 - {
68 + public String getCollectionPath() {
78 69 return mCollectionPath;
79 70 }
80 71
81 72 @Override
82 - public String toString()
83 - {
73 + public String toString() {
84 74 return "c" + super.toString();
85 75 }
86 76 }
87 77
88 78 public static class Factory
89 - implements IFactory
90 - {
79 + implements IFactory {
91 80 public static final IFactory INSTANCE = new Factory();
92 81
93 82 @Override
94 - public AbstractPONames createToOne( AbstractPONames pBuiltBy, String pParentPath )
95 - {
83 + public AbstractPONames createToOne( AbstractPONames pBuiltBy, String pParentPath ) {
96 84 return new StoryUpdateNames( pBuiltBy, pParentPath );
97 85 }
98 86
99 87 @Override
100 - public AbstractPONames createToMany( String pCollectionPath )
101 - {
88 + public AbstractPONames createToMany( String pCollectionPath ) {
102 89 return new StoryUpdateNames.CollectionOf( pCollectionPath );
103 90 }
104 91 }