public class FunctorField extends Member implements IField
| Constructor and Description |
|---|
FunctorField(String name,
IFunctor getFunctor,
IFunctor setFunctor) |
| Modifier and Type | Method and Description |
|---|---|
IClass |
getFieldType()
The declared type of the field.
|
String |
getName()
The name of the
IMember. |
Object |
getValue(Object receiver)
Make a reflective read access to the field represented by this within the
receiver. |
Object |
setValue(Object receiver,
Object value)
Make a reflective write access to the field represented by this within
receiver. |
getDeclaringClass, hasModifier, setDeclaringClass, setModifiersequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDeclaringClass, hasModifierpublic IClass getFieldType()
IFieldgetFieldType in interface IFieldpublic Object getValue(Object receiver) throws FieldAccessException
IFieldHandlerreceiver.getValue in interface IFieldHandlerreceiver - The object hosting the field.FieldAccessExceptionpublic Object setValue(Object receiver, Object value) throws FieldAccessException
IFieldHandlerreceiver.setValue in interface IFieldHandlerreceiver - The object hosting the field.value - The new value for the fieldFieldAccessExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.