|
jTransfo, 0.14 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jtransfo.internal.SimpleSyntheticField
public class SimpleSyntheticField
Simple synthetic field which just exposes the field itself.
| Constructor Summary | |
|---|---|
SimpleSyntheticField(Field field)
Constructor. |
|
| Method Summary | |
|---|---|
Object |
get(Object object)
Get field value. |
String |
getName()
Get field name. |
Class<?> |
getType()
Get field type. |
void |
set(Object object,
Object value)
Set field value. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleSyntheticField(Field field)
field - field (may be in a parent class of clazz)| Method Detail |
|---|
public Object get(Object object)
throws IllegalAccessException,
IllegalArgumentException
SyntheticField
get in interface SyntheticFieldobject - object which contains the field.
IllegalAccessException - illegal access
IllegalArgumentException - illegal argument
public void set(Object object,
Object value)
throws IllegalAccessException,
IllegalArgumentException
SyntheticField
set in interface SyntheticFieldobject - object which contains the field.value - field value
IllegalAccessException - illegal access
IllegalArgumentException - illegal argumentpublic String getName()
SyntheticField
getName in interface SyntheticFieldpublic Class<?> getType()
SyntheticField
getType in interface SyntheticField
|
jTransfo, 0.14 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||