cz.cuni.pogamut.introspection.python
Class PythonProperty

java.lang.Object
  extended by cz.cuni.pogamut.introspection.python.PythonProperty
All Implemented Interfaces:
Property

public class PythonProperty
extends java.lang.Object
implements Property


Field Summary
private  PyObjectAdapter adapter
           
private  PyObjectWrapper lastWrapper
           
 
Constructor Summary
PythonProperty(PyObjectAdapter adapter)
           
PythonProperty(java.lang.String name, PyObjectPlace place)
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.Class getType()
           
 java.lang.Object getValue()
          Get value of property.
 void setValue(java.lang.Object newValue)
          Set value of property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

adapter

private PyObjectAdapter adapter

lastWrapper

private PyObjectWrapper lastWrapper
Constructor Detail

PythonProperty

public PythonProperty(java.lang.String name,
                      PyObjectPlace place)

PythonProperty

public PythonProperty(PyObjectAdapter adapter)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Property
Returns:
Name of this property.

getType

public java.lang.Class getType()
Specified by:
getType in interface Property
Returns:
Type of this property.

getValue

public java.lang.Object getValue()
                          throws java.lang.IllegalAccessException
Description copied from interface: Property
Get value of property.

Specified by:
getValue in interface Property
Returns:
Value of property
Throws:
java.lang.IllegalAccessException

setValue

public void setValue(java.lang.Object newValue)
              throws java.lang.IllegalAccessException
Description copied from interface: Property
Set value of property.

Specified by:
setValue in interface Property
Throws:
java.lang.IllegalAccessException