Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/Java/DATT/src/org/litesoft/datt/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.datt.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
  @@ -76,44 +72,37 @@
76 72
77 73 public static class CollectionOf
78 74 extends UserXrefRestrictedResourceNames
79 - implements CollectionOfPONamesAccessor
80 - {
75 + implements CollectionOfPONamesAccessor {
81 76 private String mCollectionPath;
82 77
83 - public CollectionOf( String pCollectionPath )
84 - {
78 + public CollectionOf( String pCollectionPath ) {
85 79 super( null, "" );
86 80
87 81 mCollectionPath = pCollectionPath;
88 82 }
89 83
90 84 @Override
91 - public String getCollectionPath()
92 - {
85 + public String getCollectionPath() {
93 86 return mCollectionPath;
94 87 }
95 88
96 89 @Override
97 - public String toString()
98 - {
90 + public String toString() {
99 91 return "c" + super.toString();
100 92 }
101 93 }
102 94
103 95 public static class Factory
104 - implements IFactory
105 - {
96 + implements IFactory {
106 97 public static final IFactory INSTANCE = new Factory();
107 98
108 99 @Override
109 - public AbstractPONames createToOne( AbstractPONames pBuiltBy, String pParentPath )
110 - {
100 + public AbstractPONames createToOne( AbstractPONames pBuiltBy, String pParentPath ) {
111 101 return new UserXrefRestrictedResourceNames( pBuiltBy, pParentPath );
112 102 }
113 103
114 104 @Override
115 - public AbstractPONames createToMany( String pCollectionPath )
116 - {
105 + public AbstractPONames createToMany( String pCollectionPath ) {
117 106 return new UserXrefRestrictedResourceNames.CollectionOf( pCollectionPath );
118 107 }
119 108 }