|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.tudelft.simulation.introspection.AbstractProperty
public abstract class AbstractProperty
A default Property implementation that provides a standard way to handle composite values.
(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.
Constructor Summary | |
---|---|
AbstractProperty()
|
Method Summary | |
---|---|
Class |
getComponentType()
Returns the type of the collection components contained in this Property. |
boolean |
isCollection()
Returns true when the contained value is either an array, or an instance of {see java.util.Collection}, i.e. |
protected abstract void |
setRegularValue(Object value)
Method used to set a regular (i.e. |
void |
setValue(Object value)
Basic 'setValue' implementation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface nl.tudelft.simulation.introspection.Property |
---|
getInstance, getName, getType, getValue, isEditable |
Constructor Detail |
---|
public AbstractProperty()
Method Detail |
---|
public void setValue(Object value)
setValue
in interface Property
value
- The new value of this property.Property.setValue(java.lang.Object)
protected abstract void setRegularValue(Object value)
value
- the new valuepublic boolean isCollection()
isCollection
in interface Property
Property.isCollection()
public Class getComponentType()
Property
getComponentType
in interface Property
Property.getComponentType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |