Package com.bc.ceres.binding.accessors
Class DefaultPropertyAccessor
- java.lang.Object
- 
- com.bc.ceres.binding.accessors.DefaultPropertyAccessor
 
- 
- All Implemented Interfaces:
- PropertyAccessor
 
 public class DefaultPropertyAccessor extends Object implements PropertyAccessor A value accessor for values stored as plain Java object.
- 
- 
Constructor SummaryConstructors Constructor Description DefaultPropertyAccessor()Constructs a newDefaultValueAccessorwith anulldefault value.DefaultPropertyAccessor(Object value)Constructs a newDefaultValueAccessorwith anulldefault value.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetValue()The strategy to get a value.voidsetValue(Object value)The strategy to set a value.
 
- 
- 
- 
Constructor Detail- 
DefaultPropertyAccessorpublic DefaultPropertyAccessor() Constructs a newDefaultValueAccessorwith anulldefault value.
 - 
DefaultPropertyAccessorpublic DefaultPropertyAccessor(Object value) Constructs a newDefaultValueAccessorwith anulldefault value.- Parameters:
- value- The initial value.
 
 
- 
 - 
Method Detail- 
getValuepublic Object getValue() The strategy to get a value.- Specified by:
- getValuein interface- PropertyAccessor
- Returns:
- The value got.
 
 - 
setValuepublic void setValue(Object value) The strategy to set a value.- Specified by:
- setValuein interface- PropertyAccessor
- Parameters:
- value- The value to be set.
 
 
- 
 
-