Package de.intarsys.tools.reflect
Interface IFieldHandlerAccessibility
public interface IFieldHandlerAccessibility
An object able to access a field within a delegate
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionint
getAccessMode
(Object receiver) Query the access state of the field represented by this within thereceiver
.
-
Field Details
-
NONE
static final int NONE- See Also:
-
READONLY
static final int READONLY- See Also:
-
READWRITE
static final int READWRITE- See Also:
-
WRITEONLY
static final int WRITEONLY- See Also:
-
-
Method Details
-
getAccessMode
Query the access state of the field represented by this within thereceiver
.- Parameters:
receiver
- The object hosting the field.- Returns:
- The current access state (one of NONE, READONLY, READWRITE or WRITEONLY)
- Throws:
FieldException
FieldAccessException
-