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