litesoft
Diff Revisions
947
vs
948
for /trunk/GWT_Sandbox/Prioritizer/src/org/litesoft/prioritizer/server/pos/UserXrefTaskNamesGO.java
|
@@ -3,14 +3,12 @@ |
3 |
3 |
|
import org.litesoft.orsup.nonpublic.*; |
4 |
4 |
|
|
5 |
5 |
|
public abstract class UserXrefTaskNamesGO |
6 |
|
- |
extends AbstractPONames |
7 |
|
- |
{ |
|
6 |
+ |
extends AbstractPONames { |
8 |
7 |
|
public static final String OBJECT_NAME = "UserXrefTask"; |
9 |
8 |
|
|
10 |
9 |
|
public static final String DATASTORE_NAME = "org.litesoft.prioritizer.server.pos.UserXrefTask"; |
11 |
10 |
|
|
12 |
|
- |
protected UserXrefTaskNamesGO( AbstractPONames pBuiltBy, String pParentPath ) |
13 |
|
- |
{ |
|
11 |
+ |
protected UserXrefTaskNamesGO( 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,51 +31,43 @@ |
34 |
31 |
|
*/ |
35 |
32 |
|
public final String aTask = mParentPath + "Task"; |
36 |
33 |
|
|
37 |
|
- |
public TaskNames rTask() |
38 |
|
- |
{ |
|
34 |
+ |
public TaskNames rTask() { |
39 |
35 |
|
return (TaskNames) toOne( this, aTask, TaskNames.Factory.INSTANCE ); |
40 |
36 |
|
} |
41 |
37 |
|
|
42 |
38 |
|
public static class CollectionOf |
43 |
39 |
|
extends UserXrefTaskNames |
44 |
|
- |
implements CollectionOfPONamesAccessor |
45 |
|
- |
{ |
|
40 |
+ |
implements CollectionOfPONamesAccessor { |
46 |
41 |
|
private String mCollectionPath; |
47 |
42 |
|
|
48 |
|
- |
public CollectionOf( String pCollectionPath ) |
49 |
|
- |
{ |
|
43 |
+ |
public CollectionOf( String pCollectionPath ) { |
50 |
44 |
|
super( null, "" ); |
51 |
45 |
|
|
52 |
46 |
|
mCollectionPath = pCollectionPath; |
53 |
47 |
|
} |
54 |
48 |
|
|
55 |
49 |
|
@Override |
56 |
|
- |
public String getCollectionPath() |
57 |
|
- |
{ |
|
50 |
+ |
public String getCollectionPath() { |
58 |
51 |
|
return mCollectionPath; |
59 |
52 |
|
} |
60 |
53 |
|
|
61 |
54 |
|
@Override |
62 |
|
- |
public String toString() |
63 |
|
- |
{ |
|
55 |
+ |
public String toString() { |
64 |
56 |
|
return "c" + super.toString(); |
65 |
57 |
|
} |
66 |
58 |
|
} |
67 |
59 |
|
|
68 |
60 |
|
public static class Factory |
69 |
|
- |
implements IFactory |
70 |
|
- |
{ |
|
61 |
+ |
implements IFactory { |
71 |
62 |
|
public static final IFactory INSTANCE = new Factory(); |
72 |
63 |
|
|
73 |
64 |
|
@Override |
74 |
|
- |
public AbstractPONames createToOne( AbstractPONames pBuiltBy, String pParentPath ) |
75 |
|
- |
{ |
|
65 |
+ |
public AbstractPONames createToOne( AbstractPONames pBuiltBy, String pParentPath ) { |
76 |
66 |
|
return new UserXrefTaskNames( pBuiltBy, pParentPath ); |
77 |
67 |
|
} |
78 |
68 |
|
|
79 |
69 |
|
@Override |
80 |
|
- |
public AbstractPONames createToMany( String pCollectionPath ) |
81 |
|
- |
{ |
|
70 |
+ |
public AbstractPONames createToMany( String pCollectionPath ) { |
82 |
71 |
|
return new UserXrefTaskNames.CollectionOf( pCollectionPath ); |
83 |
72 |
|
} |
84 |
73 |
|
} |