|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A property defines a characteristic of an object. It has a name, a type and provides methods to view and alter its value. Different introspection implementation may provide different definitions for what exactly are regarded to be the 'properties' of an object.
(c) copyright 2003-2004 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
| Method Summary | |
java.lang.Class |
getComponentType()
Returns the type of the collection components contained in this Property. |
java.lang.Object |
getInstance()
Retrieves the introspected object, which contains this Property. |
java.lang.String |
getName()
Retrieves the name of the property. |
java.lang.Class |
getType()
Returns the type of this property's value. |
java.lang.Object |
getValue()
Returns the current value of this property. |
boolean |
isCollection()
Returns whether the contained value is a collection (i.e. |
boolean |
isEditable()
Returns whether the value of this property may be altered. |
void |
setValue(java.lang.Object value)
Set the value of this property. |
| Method Detail |
public java.lang.String getName()
public java.lang.Class getType()
public boolean isEditable()
public void setValue(java.lang.Object value)
value - The new value of this property.public java.lang.Object getValue()
public java.lang.Object getInstance()
public boolean isCollection()
public java.lang.Class getComponentType()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||