Nuxeo Enterprise Platform 5.4

org.nuxeo.common.xmap
Interface XAccessor

All Known Implementing Classes:
XFieldAccessor, XMethodAccessor

public interface XAccessor

Author:
Bogdan Stefanescu

Method Summary
 java.lang.Class getType()
          Gets the type of the object to be set by this setter.
 java.lang.Object getValue(java.lang.Object instance)
           
 void setValue(java.lang.Object instance, java.lang.Object value)
          Sets the value of the underlying member.
 

Method Detail

getType

java.lang.Class getType()
Gets the type of the object to be set by this setter.

Returns:
the setter object type

setValue

void setValue(java.lang.Object instance,
              java.lang.Object value)
              throws java.lang.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:
java.lang.Exception

getValue

java.lang.Object getValue(java.lang.Object instance)
                          throws java.lang.Exception
Throws:
java.lang.Exception

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.