litesoft
Diff Revisions
947
vs
948
for /trunk/Java/DATT/src/org/litesoft/datt/server/pos/ReportAllRestrictedResourceCommonNamesGO.java
|
@@ -3,14 +3,12 @@ |
3 |
3 |
|
import org.litesoft.orsup.nonpublic.*; |
4 |
4 |
|
|
5 |
5 |
|
public abstract class ReportAllRestrictedResourceCommonNamesGO |
6 |
|
- |
extends ReportNames |
7 |
|
- |
{ |
|
6 |
+ |
extends ReportNames { |
8 |
7 |
|
public static final String OBJECT_NAME = "ReportAllRestrictedResourceCommon"; |
9 |
8 |
|
|
10 |
9 |
|
public static final String DATASTORE_NAME = "org.litesoft.datt.server.pos.ReportAllRestrictedResourceCommon"; |
11 |
10 |
|
|
12 |
|
- |
protected ReportAllRestrictedResourceCommonNamesGO( AbstractPONames pBuiltBy, String pParentPath ) |
13 |
|
- |
{ |
|
11 |
+ |
protected ReportAllRestrictedResourceCommonNamesGO( AbstractPONames pBuiltBy, String pParentPath ) { |
14 |
12 |
|
super( pBuiltBy, OBJECT_NAME, DATASTORE_NAME, pParentPath ); |
15 |
13 |
|
} |
16 |
14 |
|
|
|
@@ -26,44 +24,37 @@ |
26 |
24 |
|
|
27 |
25 |
|
public static class CollectionOf |
28 |
26 |
|
extends ReportAllRestrictedResourceCommonNames |
29 |
|
- |
implements CollectionOfPONamesAccessor |
30 |
|
- |
{ |
|
27 |
+ |
implements CollectionOfPONamesAccessor { |
31 |
28 |
|
private String mCollectionPath; |
32 |
29 |
|
|
33 |
|
- |
public CollectionOf( String pCollectionPath ) |
34 |
|
- |
{ |
|
30 |
+ |
public CollectionOf( String pCollectionPath ) { |
35 |
31 |
|
super( null, "" ); |
36 |
32 |
|
|
37 |
33 |
|
mCollectionPath = pCollectionPath; |
38 |
34 |
|
} |
39 |
35 |
|
|
40 |
36 |
|
@Override |
41 |
|
- |
public String getCollectionPath() |
42 |
|
- |
{ |
|
37 |
+ |
public String getCollectionPath() { |
43 |
38 |
|
return mCollectionPath; |
44 |
39 |
|
} |
45 |
40 |
|
|
46 |
41 |
|
@Override |
47 |
|
- |
public String toString() |
48 |
|
- |
{ |
|
42 |
+ |
public String toString() { |
49 |
43 |
|
return "c" + super.toString(); |
50 |
44 |
|
} |
51 |
45 |
|
} |
52 |
46 |
|
|
53 |
47 |
|
public static class Factory |
54 |
|
- |
implements IFactory |
55 |
|
- |
{ |
|
48 |
+ |
implements IFactory { |
56 |
49 |
|
public static final IFactory INSTANCE = new Factory(); |
57 |
50 |
|
|
58 |
51 |
|
@Override |
59 |
|
- |
public AbstractPONames createToOne( AbstractPONames pBuiltBy, String pParentPath ) |
60 |
|
- |
{ |
|
52 |
+ |
public AbstractPONames createToOne( AbstractPONames pBuiltBy, String pParentPath ) { |
61 |
53 |
|
return new ReportAllRestrictedResourceCommonNames( pBuiltBy, pParentPath ); |
62 |
54 |
|
} |
63 |
55 |
|
|
64 |
56 |
|
@Override |
65 |
|
- |
public AbstractPONames createToMany( String pCollectionPath ) |
66 |
|
- |
{ |
|
57 |
+ |
public AbstractPONames createToMany( String pCollectionPath ) { |
67 |
58 |
|
return new ReportAllRestrictedResourceCommonNames.CollectionOf( pCollectionPath ); |
68 |
59 |
|
} |
69 |
60 |
|
} |