cz.cuni.pogamut.introspection.python
Class PyObjectPlace

java.lang.Object
  extended by cz.cuni.pogamut.introspection.python.PyObjectPlace

public abstract class PyObjectPlace
extends java.lang.Object

This absract class is used for anonymous classes which decribes where the PyObject lies (it's owner), when we do set() on the property we have to know where to write the new value. It's used to create anonymous classes for various typed of places (inside an PyInstance, PyList, etc.)


Constructor Summary
PyObjectPlace()
           
 
Method Summary
abstract  java.lang.Object get()
          This should get the Object from the place.
abstract  void set(PyObject newValue)
          This should set the PyObject to the right place.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PyObjectPlace

public PyObjectPlace()
Method Detail

set

public abstract void set(PyObject newValue)
This should set the PyObject to the right place.

Parameters:
newValue -

get

public abstract java.lang.Object get()
This should get the Object from the place. May return null if Object doesn't exist at the location.

Returns:
Object from the place - null if there is not any