Package de.intarsys.tools.reflect
Interface IAccessHandlerAccessibility
public interface IAccessHandlerAccessibility
An object supporting handling reflective calls to fields of a delegate.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionint
getAccessMode
(Object receiver, String name) Query the access state of the propertyname
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 propertyname
within thereceiver
.- Parameters:
receiver
- The object hosting the field.name
- The name of the field to get.- Returns:
- The current access state (one of NONE, READONLY, READWRITE or WRITEONLY)
- Throws:
FieldException
FieldAccessException
-