Subversion Repository Public Repository

litesoft

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

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