Interface XAccessor

All Known Implementing Classes:
XFieldAccessor, XMethodAccessor

public interface XAccessor
Author:
Bogdan Stefanescu
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the type of the object to be set by this setter.
    getValue(Object instance)
     
    void
    setValue(Object instance, Object value)
    Sets the value of the underlying member.
  • Method Details

    • getType

      Class<?> getType()
      Gets the type of the object to be set by this setter.
      Returns:
      the setter object type
    • setValue

      void setValue(Object instance, Object value)
      Sets the value of the underlying member.
      Parameters:
      instance - the instance of the object that owns this field
      value - the value to set
    • getValue

      Object getValue(Object instance)