| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| PropertySetterConfiguration |
|
| 1.0;1 |
| 1 | package be.objectify.led; | |
| 2 | ||
| 3 | /** | |
| 4 | * Controls behaviour of the property setter. | |
| 5 | * | |
| 6 | * @author Steve Chaloner (steve@objectify.be). | |
| 7 | */ | |
| 8 | 59 | public class PropertySetterConfiguration |
| 9 | { | |
| 10 | 59 | private boolean allowFinalSetting = false; |
| 11 | ||
| 12 | public boolean isAllowFinalSetting() | |
| 13 | { | |
| 14 | 9 | return allowFinalSetting; |
| 15 | } | |
| 16 | ||
| 17 | public void setAllowFinalSetting(boolean allowFinalSetting) | |
| 18 | { | |
| 19 | 4 | this.allowFinalSetting = allowFinalSetting; |
| 20 | 4 | } |
| 21 | } |