public abstract class AbstractProperty extends Object implements Property
(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 and Description |
---|
AbstractProperty() |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInstance, getName, getType, getValue, isEditable
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()
Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.