Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.common.xmap
Interface XAccessor

All Known Implementing Classes:
XFieldAccessor, XMethodAccessor

public interface XAccessor

Author:
Bogdan Stefanescu

Method Summary
 Class getType()
          Gets the type of the object to be set by this setter.
 Object getValue(Object instance)
           
 void setValue(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)
              throws Exception
Sets the value of the underlying member.

Parameters:
instance - the instance of the object that owns this field
value - the value to set
Throws:
Exception

getValue

Object getValue(Object instance)
                throws Exception
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.