litesoft
Diff Revisions
49
vs
828
for /trunk/Java/KeyHole/src/org/litesoft/aokeyhole/objects/ToOneSet.java
|
@@ -5,28 +5,19 @@ |
5 |
5 |
|
|
6 |
6 |
|
public class ToOneSet extends AbstractUiCRUDrelatedSet |
7 |
7 |
|
{ |
8 |
|
- |
public ToOneSet( int pSortIndex, ASet pPersisted, ASet pVirtual ) |
|
8 |
+ |
protected ToOneSet( AttributeSetBuilder pBuilder ) |
9 |
9 |
|
{ |
10 |
|
- |
super( pSortIndex, A_ToOne.TYPE, pPersisted, pVirtual ); |
|
10 |
+ |
super( pBuilder ); |
11 |
11 |
|
} |
12 |
12 |
|
|
13 |
13 |
|
public ToOneSet( ASet pPersisted, ASet pVirtual ) |
14 |
14 |
|
{ |
15 |
|
- |
super( A_ToOne.TYPE, pPersisted, pVirtual ); |
|
15 |
+ |
this( new AttributeSetBuilder( A_ToOne.TYPE ).persisted( pPersisted ).virtual( pVirtual ) ); |
16 |
16 |
|
} |
17 |
17 |
|
|
18 |
|
- |
public ToOneSet( int pSortIndex, ASet pPersisted ) |
|
18 |
+ |
@SuppressWarnings("UnusedDeclaration") |
|
19 |
+ |
public ToOneSet( PropertyMetaData... pPersistedPMDs ) |
19 |
20 |
|
{ |
20 |
|
- |
this( pSortIndex, pPersisted, null ); |
21 |
|
- |
} |
22 |
|
- |
|
23 |
|
- |
public ToOneSet( ASet pPersisted ) |
24 |
|
- |
{ |
25 |
|
- |
this( pPersisted, null ); |
26 |
|
- |
} |
27 |
|
- |
|
28 |
|
- |
public ToOneSet( PropertyMetaData... pPMDs ) |
29 |
|
- |
{ |
30 |
|
- |
this( new ASet( pPMDs ) ); |
|
21 |
+ |
this( new ASet( pPersistedPMDs ), null ); |
31 |
22 |
|
} |
32 |
23 |
|
} |