de.intarsys.tools.reflect
Interface IFieldHandlerAccessibility


public interface IFieldHandlerAccessibility

An object able to access a field within a delegate


Field Summary
static int NONE
           
static int READONLY
           
static int READWRITE
           
static int WRITEONLY
           
 
Method Summary
 int getAccessMode(java.lang.Object receiver)
          Query the access state of the field represented by this within the receiver.
 

Field Detail

NONE

static final int NONE
See Also:
Constant Field Values

READONLY

static final int READONLY
See Also:
Constant Field Values

READWRITE

static final int READWRITE
See Also:
Constant Field Values

WRITEONLY

static final int WRITEONLY
See Also:
Constant Field Values
Method Detail

getAccessMode

int getAccessMode(java.lang.Object receiver)
                  throws FieldAccessException
Query the access state of the field represented by this within the receiver.

Parameters:
receiver - The object hosting the field.
Returns:
The current access state (one of NONE, READONLY, READWRITE or WRITEONLY)
Throws:
FieldException
FieldAccessException