litesoft
Diff Revisions
947
vs
948
for /trunk/GWT_Sandbox/InitFrom/src/org/litesoft/initfrom/server/pos/EmailNamesGO.java
|
@@ -3,14 +3,12 @@ |
3 |
3 |
|
import org.litesoft.orsup.nonpublic.*; |
4 |
4 |
|
|
5 |
5 |
|
public abstract class EmailNamesGO |
6 |
|
- |
extends AbstractPONames |
7 |
|
- |
{ |
|
6 |
+ |
extends AbstractPONames { |
8 |
7 |
|
public static final String OBJECT_NAME = "Email"; |
9 |
8 |
|
|
10 |
9 |
|
public static final String DATASTORE_NAME = "org.litesoft.initfrom.server.pos.Email"; |
11 |
10 |
|
|
12 |
|
- |
protected EmailNamesGO( AbstractPONames pBuiltBy, String pParentPath ) |
13 |
|
- |
{ |
|
11 |
+ |
protected EmailNamesGO( AbstractPONames pBuiltBy, String pParentPath ) { |
14 |
12 |
|
super( pBuiltBy, OBJECT_NAME, DATASTORE_NAME, pParentPath ); |
15 |
13 |
|
} |
16 |
14 |
|
|
|
@@ -58,44 +56,37 @@ |
58 |
56 |
|
|
59 |
57 |
|
public static class CollectionOf |
60 |
58 |
|
extends EmailNames |
61 |
|
- |
implements CollectionOfPONamesAccessor |
62 |
|
- |
{ |
|
59 |
+ |
implements CollectionOfPONamesAccessor { |
63 |
60 |
|
private String mCollectionPath; |
64 |
61 |
|
|
65 |
|
- |
public CollectionOf( String pCollectionPath ) |
66 |
|
- |
{ |
|
62 |
+ |
public CollectionOf( String pCollectionPath ) { |
67 |
63 |
|
super( null, "" ); |
68 |
64 |
|
|
69 |
65 |
|
mCollectionPath = pCollectionPath; |
70 |
66 |
|
} |
71 |
67 |
|
|
72 |
68 |
|
@Override |
73 |
|
- |
public String getCollectionPath() |
74 |
|
- |
{ |
|
69 |
+ |
public String getCollectionPath() { |
75 |
70 |
|
return mCollectionPath; |
76 |
71 |
|
} |
77 |
72 |
|
|
78 |
73 |
|
@Override |
79 |
|
- |
public String toString() |
80 |
|
- |
{ |
|
74 |
+ |
public String toString() { |
81 |
75 |
|
return "c" + super.toString(); |
82 |
76 |
|
} |
83 |
77 |
|
} |
84 |
78 |
|
|
85 |
79 |
|
public static class Factory |
86 |
|
- |
implements IFactory |
87 |
|
- |
{ |
|
80 |
+ |
implements IFactory { |
88 |
81 |
|
public static final IFactory INSTANCE = new Factory(); |
89 |
82 |
|
|
90 |
83 |
|
@Override |
91 |
|
- |
public AbstractPONames createToOne( AbstractPONames pBuiltBy, String pParentPath ) |
92 |
|
- |
{ |
|
84 |
+ |
public AbstractPONames createToOne( AbstractPONames pBuiltBy, String pParentPath ) { |
93 |
85 |
|
return new EmailNames( pBuiltBy, pParentPath ); |
94 |
86 |
|
} |
95 |
87 |
|
|
96 |
88 |
|
@Override |
97 |
|
- |
public AbstractPONames createToMany( String pCollectionPath ) |
98 |
|
- |
{ |
|
89 |
+ |
public AbstractPONames createToMany( String pCollectionPath ) { |
99 |
90 |
|
return new EmailNames.CollectionOf( pCollectionPath ); |
100 |
91 |
|
} |
101 |
92 |
|
} |