Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/GWT_Sandbox/InitFrom/src/org/litesoft/initfrom/server/pos/UserXrefRestrictedResourceNamesGO.java

Diff revisions: vs.
  @@ -3,14 +3,12 @@
3 3 import org.litesoft.orsup.nonpublic.*;
4 4
5 5 public abstract class UserXrefRestrictedResourceNamesGO
6 - extends AbstractPONames
7 - {
6 + extends AbstractPONames {
8 7 public static final String OBJECT_NAME = "UserXrefRestrictedResource";
9 8
10 9 public static final String DATASTORE_NAME = "org.litesoft.initfrom.server.pos.UserXrefRestrictedResource";
11 10
12 - protected UserXrefRestrictedResourceNamesGO( AbstractPONames pBuiltBy, String pParentPath )
13 - {
11 + protected UserXrefRestrictedResourceNamesGO( AbstractPONames pBuiltBy, String pParentPath ) {
14 12 super( pBuiltBy, OBJECT_NAME, DATASTORE_NAME, pParentPath );
15 13 }
16 14
  @@ -24,8 +22,7 @@
24 22 */
25 23 public final String aUser = mParentPath + "User";
26 24
27 - public UserNames rUser()
28 - {
25 + public UserNames rUser() {
29 26 return (UserNames) toOne( this, aUser, UserNames.Factory.INSTANCE );
30 27 }
31 28
  @@ -34,8 +31,7 @@
34 31 */
35 32 public final String aRestrictedResource = mParentPath + "RestrictedResource";
36 33
37 - public RestrictedResourceNames rRestrictedResource()
38 - {
34 + public RestrictedResourceNames rRestrictedResource() {
39 35 return (RestrictedResourceNames) toOne( this, aRestrictedResource, RestrictedResourceNames.Factory.INSTANCE );
40 36 }
41 37
  @@ -66,44 +62,37 @@
66 62
67 63 public static class CollectionOf
68 64 extends UserXrefRestrictedResourceNames
69 - implements CollectionOfPONamesAccessor
70 - {
65 + implements CollectionOfPONamesAccessor {
71 66 private String mCollectionPath;
72 67
73 - public CollectionOf( String pCollectionPath )
74 - {
68 + public CollectionOf( String pCollectionPath ) {
75 69 super( null, "" );
76 70
77 71 mCollectionPath = pCollectionPath;
78 72 }
79 73
80 74 @Override
81 - public String getCollectionPath()
82 - {
75 + public String getCollectionPath() {
83 76 return mCollectionPath;
84 77 }
85 78
86 79 @Override
87 - public String toString()
88 - {
80 + public String toString() {
89 81 return "c" + super.toString();
90 82 }
91 83 }
92 84
93 85 public static class Factory
94 - implements IFactory
95 - {
86 + implements IFactory {
96 87 public static final IFactory INSTANCE = new Factory();
97 88
98 89 @Override
99 - public AbstractPONames createToOne( AbstractPONames pBuiltBy, String pParentPath )
100 - {
90 + public AbstractPONames createToOne( AbstractPONames pBuiltBy, String pParentPath ) {
101 91 return new UserXrefRestrictedResourceNames( pBuiltBy, pParentPath );
102 92 }
103 93
104 94 @Override
105 - public AbstractPONames createToMany( String pCollectionPath )
106 - {
95 + public AbstractPONames createToMany( String pCollectionPath ) {
107 96 return new UserXrefRestrictedResourceNames.CollectionOf( pCollectionPath );
108 97 }
109 98 }