-
Constructor Summary
Constructors
-
Method Summary
Gets the type of the object to be set by this setter.
void
Sets the value of the underlying member.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
XFieldAccessor
public XFieldAccessor(Field field)
-
Method Details
-
getType
public Class<?> getType()
Gets the type of the object to be set by this setter.
- Specified by:
getType
in interface XAccessor
- Returns:
- the setter object type
-
setValue
Sets the value of the underlying member.
- Specified by:
setValue
in interface XAccessor
- Parameters:
instance
- the instance of the object that owns this field
value
- the value to set
-