Subversion Repository Public Repository

litesoft

Diff Revisions 49 vs 828 for /trunk/Java/KeyHole/src/org/litesoft/aokeyhole/objects/ToManySet.java

Diff revisions: vs.
  @@ -5,28 +5,19 @@
5 5
6 6 public class ToManySet extends AbstractUiCRUDrelatedSet
7 7 {
8 - public ToManySet( int pSortIndex, ASet pPersisted, ASet pVirtual )
8 + protected ToManySet( AttributeSetBuilder pBuilder )
9 9 {
10 - super( pSortIndex, A_ToMany.TYPE, pPersisted, pVirtual );
10 + super( pBuilder );
11 11 }
12 12
13 13 public ToManySet( ASet pPersisted, ASet pVirtual )
14 14 {
15 - this( SORT_ToMany, pPersisted, pVirtual );
15 + this( new AttributeSetBuilder( A_ToMany.TYPE ).sortIndex( SORT_ToMany ).persisted( pPersisted ).virtual( pVirtual ) );
16 16 }
17 17
18 - public ToManySet( int pSortIndex, ASet pPersisted )
18 + @SuppressWarnings("UnusedDeclaration")
19 + public ToManySet( PropertyMetaData... pPersistedPMDs )
19 20 {
20 - this( pSortIndex, pPersisted, null );
21 - }
22 -
23 - public ToManySet( ASet pPersisted )
24 - {
25 - this( pPersisted, null );
26 - }
27 -
28 - public ToManySet( PropertyMetaData... pPMDs )
29 - {
30 - this( new ASet( pPMDs ) );
21 + this( new ASet( pPersistedPMDs ), null );
31 22 }
32 23 }