|
||||||||||
| 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 | |
|---|---|
java.lang.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(java.lang.Object value)
Method used to set a regular (i.e. |
void |
setValue(java.lang.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(java.lang.Object value)
setValue in interface Propertyvalue - The new value of this property.Property.setValue(java.lang.Object)protected abstract void setRegularValue(java.lang.Object value)
value - the new valuepublic boolean isCollection()
isCollection in interface PropertyProperty.isCollection()public java.lang.Class getComponentType()
Property
getComponentType in interface PropertyProperty.getComponentType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||