Subversion Repository Public Repository

litesoft

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

Diff revisions: vs.
  @@ -3,24 +3,19 @@
3 3
4 4 public class UiCRUDpSet extends AttributeSet
5 5 {
6 - public UiCRUDpSet( int pSortIndex, AttributeType pType, ASet pPersisted, ASet pVirtual )
6 + protected UiCRUDpSet( AttributeSetBuilder pBuilder )
7 7 {
8 - super( pSortIndex, pType, pPersisted, pVirtual );
8 + super( pBuilder );
9 9 }
10 10
11 11 public UiCRUDpSet( AttributeType pType, ASet pPersisted, ASet pVirtual )
12 12 {
13 - super( pType, pPersisted, pVirtual );
13 + this( new AttributeSetBuilder( pType ).persisted( pPersisted ).virtual( pVirtual ) );
14 14 }
15 15
16 - public UiCRUDpSet( int pSortIndex, AttributeType pType, ASet pPersisted )
16 + public UiCRUDpSet( AttributeType pType, PropertyMetaData... pPersistedPMDs )
17 17 {
18 - super( pSortIndex, pType, pPersisted );
19 - }
20 -
21 - public UiCRUDpSet( AttributeType pType, ASet pPersisted )
22 - {
23 - super( pType, pPersisted );
18 + this( new AttributeSetBuilder( pType ).persisted( new ASet( pPersistedPMDs ) ) );
24 19 }
25 20
26 21 @Override