Subversion Repository Public Repository

litesoft

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

Diff revisions: vs.
  @@ -15,27 +15,12 @@
15 15 private AttributeType mType;
16 16 private ASet mPersisted, mVirtual;
17 17
18 - protected AttributeSet( int pSortIndex, AttributeType pType, ASet pPersisted, ASet pVirtual )
18 + protected AttributeSet( AttributeSetBuilder pBuilder )
19 19 {
20 - mSortIndex = pSortIndex;
21 - mType = pType;
22 - mPersisted = pPersisted;
23 - mVirtual = pVirtual;
24 - }
25 -
26 - protected AttributeSet( AttributeType pType, ASet pPersisted, ASet pVirtual )
27 - {
28 - this( 0, pType, pPersisted, pVirtual );
29 - }
30 -
31 - protected AttributeSet( int pSortIndex, AttributeType pType, ASet pPersisted )
32 - {
33 - this( pSortIndex, pType, pPersisted, null );
34 - }
35 -
36 - protected AttributeSet( AttributeType pType, ASet pPersisted )
37 - {
38 - this( 0, pType, pPersisted, null );
20 + mSortIndex = pBuilder.getSortIndex();
21 + mType = pBuilder.getType();
22 + mPersisted = pBuilder.getPersisted();
23 + mVirtual = pBuilder.getVirtual();
39 24 }
40 25
41 26 public int getSortIndex()