Package org.nuxeo.common.xmap
Interface XAccessor
-
- All Known Implementing Classes:
XFieldAccessor,XMethodAccessor
public interface XAccessor
- Author:
- Bogdan Stefanescu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<?>getType()Gets the type of the object to be set by this setter.ObjectgetValue(Object instance)voidsetValue(Object instance, Object value)Sets the value of the underlying member.
-
-
-
Method Detail
-
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 fieldvalue- the value to set
-
-