public class BeanProperty extends AbstractProperty 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.
| Modifier | Constructor and Description |
|---|---|
protected |
BeanProperty(Object bean,
PropertyDescriptor descriptor)
constructs a new BeanProperty
|
| Modifier and Type | Method and Description |
|---|---|
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 |
isEditable()
Returns whether the value of this property may be altered.
|
protected void |
setRegularValue(Object values)
Method used to set a regular (i.e.
|
getComponentType, isCollection, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComponentType, isCollection, setValueprotected BeanProperty(Object bean, PropertyDescriptor descriptor)
bean - the bean to introspectdescriptor - the descriptor of the propertypublic String getName()
PropertygetName in interface PropertyProperty.getName()public Class getType()
PropertygetType in interface PropertyProperty.getType()protected void setRegularValue(Object values)
AbstractPropertysetRegularValue in class AbstractPropertyvalues - the new value#setRegularValue(java.lang.Object)public Object getValue()
PropertygetValue in interface PropertyProperty.getValue()public Object getInstance()
PropertygetInstance in interface PropertyProperty.getInstance()public boolean isEditable()
PropertyisEditable in interface PropertyProperty.isEditable()Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.