|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Property
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 2002-2005-2004 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
Method Summary | |
---|---|
Class |
getComponentType()
Returns the type of the collection components contained in this Property. |
Object |
getInstance()
Retrieves the introspected object, which contains this Property. |
String |
getName()
Retrieves the name of the property. |
Class |
getType()
Returns the type of this property's value. |
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(Object value)
Set the value of this property. |
Method Detail |
---|
String getName()
Class getType()
boolean isEditable()
void setValue(Object value)
value
- The new value of this property.Object getValue()
Object getInstance()
boolean isCollection()
Class getComponentType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |