Interface PropertyAccessorFactory.PropertyAccessorDoubleValue

All Superinterfaces:
PropertyAccessor
Enclosing class:
PropertyAccessorFactory

protected static interface PropertyAccessorFactory.PropertyAccessorDoubleValue extends PropertyAccessor
Interface for property accessors that handle double-typed properties. Provides methods to get and set double values, with conversions to other types as needed.
Since:
2.0
  • Method Details

    • getObject

      default Object getObject(Object object)
      Description copied from interface: PropertyAccessor
      Gets the property value as an Object.
      Specified by:
      getObject in interface PropertyAccessor
      Parameters:
      object - the object to get the property from
      Returns:
      the property value as Object
    • getByteValue

      default byte getByteValue(Object object)
      Description copied from interface: PropertyAccessor
      Gets the property value as a byte.
      Specified by:
      getByteValue in interface PropertyAccessor
      Parameters:
      object - the object to get the property from
      Returns:
      the property value as byte
    • getCharValue

      default char getCharValue(Object object)
      Description copied from interface: PropertyAccessor
      Gets the property value as a char.
      Specified by:
      getCharValue in interface PropertyAccessor
      Parameters:
      object - the object to get the property from
      Returns:
      the property value as char
    • getShortValue

      default short getShortValue(Object object)
      Description copied from interface: PropertyAccessor
      Gets the property value as a short.
      Specified by:
      getShortValue in interface PropertyAccessor
      Parameters:
      object - the object to get the property from
      Returns:
      the property value as short
    • getIntValue

      default int getIntValue(Object object)
      Description copied from interface: PropertyAccessor
      Gets the property value as an int.
      Specified by:
      getIntValue in interface PropertyAccessor
      Parameters:
      object - the object to get the property from
      Returns:
      the property value as int
    • getLongValue

      default long getLongValue(Object object)
      Description copied from interface: PropertyAccessor
      Gets the property value as a long.
      Specified by:
      getLongValue in interface PropertyAccessor
      Parameters:
      object - the object to get the property from
      Returns:
      the property value as long
    • getFloatValue

      default float getFloatValue(Object object)
      Description copied from interface: PropertyAccessor
      Gets the property value as a float.
      Specified by:
      getFloatValue in interface PropertyAccessor
      Parameters:
      object - the object to get the property from
      Returns:
      the property value as float
    • getBooleanValue

      default boolean getBooleanValue(Object object)
      Description copied from interface: PropertyAccessor
      Gets the property value as a boolean.
      Specified by:
      getBooleanValue in interface PropertyAccessor
      Parameters:
      object - the object to get the property from
      Returns:
      the property value as boolean
    • setObject

      default void setObject(Object object, Object value)
      Description copied from interface: PropertyAccessor
      Sets the property value from an Object.
      Specified by:
      setObject in interface PropertyAccessor
      Parameters:
      object - the object to set the property on
      value - the value to set
    • setByteValue

      default void setByteValue(Object object, byte value)
      Description copied from interface: PropertyAccessor
      Sets the property value from a byte.
      Specified by:
      setByteValue in interface PropertyAccessor
      Parameters:
      object - the object to set the property on
      value - the byte value to set
    • setCharValue

      default void setCharValue(Object object, char value)
      Description copied from interface: PropertyAccessor
      Sets the property value from a char.
      Specified by:
      setCharValue in interface PropertyAccessor
      Parameters:
      object - the object to set the property on
      value - the char value to set
    • setShortValue

      default void setShortValue(Object object, short value)
      Description copied from interface: PropertyAccessor
      Sets the property value from a short.
      Specified by:
      setShortValue in interface PropertyAccessor
      Parameters:
      object - the object to set the property on
      value - the short value to set
    • setIntValue

      default void setIntValue(Object object, int value)
      Description copied from interface: PropertyAccessor
      Sets the property value from an int.
      Specified by:
      setIntValue in interface PropertyAccessor
      Parameters:
      object - the object to set the property on
      value - the int value to set
    • setLongValue

      default void setLongValue(Object object, long value)
      Description copied from interface: PropertyAccessor
      Sets the property value from a long.
      Specified by:
      setLongValue in interface PropertyAccessor
      Parameters:
      object - the object to set the property on
      value - the long value to set
    • setFloatValue

      default void setFloatValue(Object object, float value)
      Description copied from interface: PropertyAccessor
      Sets the property value from a float.
      Specified by:
      setFloatValue in interface PropertyAccessor
      Parameters:
      object - the object to set the property on
      value - the float value to set
    • setBooleanValue

      default void setBooleanValue(Object object, boolean value)
      Description copied from interface: PropertyAccessor
      Sets the property value from a boolean.
      Specified by:
      setBooleanValue in interface PropertyAccessor
      Parameters:
      object - the object to set the property on
      value - the boolean value to set