|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.tools.objectmodel.Member
de.intarsys.tools.objectmodel.FunctorField
public class FunctorField
The wrapper around IFunctor to make it an IField.
| Constructor Summary | |
|---|---|
FunctorField(String name,
IFunctor getFunctor,
IFunctor setFunctor)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class de.intarsys.tools.objectmodel.Member |
|---|
getDeclaringClass, hasModifier, setDeclaringClass, setModifiers |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.intarsys.tools.objectmodel.IMember |
|---|
getDeclaringClass, hasModifier |
| Constructor Detail |
|---|
public FunctorField(String name,
IFunctor getFunctor,
IFunctor setFunctor)
| Method Detail |
|---|
public IClass getFieldType()
IField
getFieldType in interface IFieldpublic String getName()
IMemberIMember.
getName in interface IMemberIMember.
public Object getValue(Object receiver)
throws FieldAccessException
IFieldHandlerreceiver.
getValue in interface IFieldHandlerreceiver - The object hosting the field.
FieldAccessException
public Object setValue(Object receiver,
Object value)
throws FieldAccessException
IFieldHandlerreceiver.
setValue in interface IFieldHandlerreceiver - The object hosting the field.value - The new value for the field
FieldAccessException
|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||