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