|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.introspection.Feature
cz.cuni.amis.introspection.Property
cz.cuni.amis.introspection.java.JavaProperty
public class JavaProperty
Wrapps JavaReflection way of manipulating with fields of objects.
| Field Summary | |
|---|---|
protected Field |
field
Field to be changed. |
protected Object |
object
Object where is the field. |
| Fields inherited from class cz.cuni.amis.introspection.Feature |
|---|
name |
| Constructor Summary | |
|---|---|
JavaProperty(Object object,
Field field)
Creates a new instance of JavaProperty |
|
| Method Summary | |
|---|---|
Class |
getType()
|
Object |
getValue()
Get value of property. |
void |
setValue(Object newValue)
Set value of property. |
| Methods inherited from class cz.cuni.amis.introspection.Feature |
|---|
getName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Field field
protected Object object
| Constructor Detail |
|---|
public JavaProperty(Object object,
Field field)
field - Field that is represented by this propertyobject - Object at which the new value will be set.| Method Detail |
|---|
public Object getValue()
throws IntrospectionException
Property
getValue in class PropertyIntrospectionException
public void setValue(Object newValue)
throws IntrospectionException
Property
setValue in class PropertyIntrospectionExceptionpublic Class getType()
getType in class Property
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||