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 Details

    • DefaultPropertyAccessor

      public DefaultPropertyAccessor()
      Constructs a new DefaultValueAccessor with a null default value.
    • DefaultPropertyAccessor

      public DefaultPropertyAccessor(Object value)
      Constructs a new DefaultValueAccessor with a null default value.
      Parameters:
      value - The initial value.
  • Method Details

    • getValue

      public Object getValue()
      The strategy to get a value.
      Specified by:
      getValue in interface PropertyAccessor
      Returns:
      The value got.
    • setValue

      public void setValue(Object value)
      The strategy to set a value.
      Specified by:
      setValue in interface PropertyAccessor
      Parameters:
      value - The value to be set.