cz.cuni.pogamut.introspection
Interface Property

All Known Implementing Classes:
JavaProperty, PythonProperty

public interface Property

Interface for property models. Porperty model can get and set values directly from (and to) running instance of code.


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.
 

Method Detail

getValue

java.lang.Object getValue()
                          throws java.lang.IllegalAccessException
Get value of property.

Returns:
Value of property
Throws:
java.lang.IllegalAccessException

setValue

void setValue(java.lang.Object newValue)
              throws java.lang.IllegalAccessException
Set value of property.

Parameters:
newValue -
Throws:
java.lang.IllegalAccessException

getName

java.lang.String getName()
Returns:
Name of this property.

getType

java.lang.Class getType()
Returns:
Type of this property.