org.nuxeo.common.xmap
Class XFieldAccessor
java.lang.Object
org.nuxeo.common.xmap.XFieldAccessor
- All Implemented Interfaces:
- XAccessor
public class XFieldAccessor
- extends Object
- implements XAccessor
- Author:
- Bogdan Stefanescu
XFieldAccessor
public XFieldAccessor(Field field)
getType
public Class getType()
- Description copied from interface:
XAccessor
- Gets the type of the object to be set by this setter.
- Specified by:
getType
in interface XAccessor
- Returns:
- the setter object type
setValue
public void setValue(Object instance,
Object value)
throws IllegalAccessException
- Description copied from interface:
XAccessor
- Sets the value of the underlying member.
- Specified by:
setValue
in interface XAccessor
- Parameters:
instance
- the instance of the object that owns this fieldvalue
- the value to set
- Throws:
IllegalAccessException
getValue
public Object getValue(Object instance)
throws Exception
- Specified by:
getValue
in interface XAccessor
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.