cz.cuni.pogamut.introspection.python
Class PythonProperty
java.lang.Object
cz.cuni.pogamut.introspection.python.PythonProperty
- All Implemented Interfaces:
- Property
public class PythonProperty
- extends java.lang.Object
- implements Property
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 |
adapter
private PyObjectAdapter adapter
lastWrapper
private PyObjectWrapper lastWrapper
PythonProperty
public PythonProperty(java.lang.String name,
PyObjectPlace place)
PythonProperty
public PythonProperty(PyObjectAdapter adapter)
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