litesoft
Diff Revisions
829
vs
830
for /trunk/Java/core/Anywhere/tests/org/litesoft/mementobeansupport/AbstractMasterBean.java
|
@@ -15,6 +15,7 @@ |
15 |
15 |
|
/* 02 */ new StringAttributeProxy( "Description" ).nullEmpties().repeating(), // |
16 |
16 |
|
/* 03 */ new MementoableAttributeProxy<DetailBean>( "SpecialDetail", DetailBean.DEFAULT_INSTANCE ).nullEmpties(), // |
17 |
17 |
|
/* 04 */ new MementoableAttributeProxy<DetailBean>( "Details", DetailBean.DEFAULT_INSTANCE ).nullEmpties().repeating(), // |
|
18 |
+ |
/* 05 */ new BooleanAttributeProxy( "Active" ).nullFalses(), // |
18 |
19 |
|
}; |
19 |
20 |
|
|
20 |
21 |
|
protected AbstractMasterBean() |
|
@@ -103,5 +104,15 @@ |
103 |
104 |
|
return setRepeatingValueFor( 4, pDetails ); |
104 |
105 |
|
} |
105 |
106 |
|
|
|
107 |
+ |
public Boolean getActive()", |
|
108 |
+ |
{ |
|
109 |
+ |
return getValueFor( 5 ); |
|
110 |
+ |
} |
|
111 |
+ |
|
|
112 |
+ |
public MasterBean setActive( Boolean pActive ) |
|
113 |
+ |
{ |
|
114 |
+ |
return setValueFor( 5, pActive ); |
|
115 |
+ |
} |
|
116 |
+ |
|
106 |
117 |
|
public static final MasterBean DEFAULT_INSTANCE = new MasterBean(); |
107 |
118 |
|
} |