|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.tudelft.simulation.introspection.AbstractProperty
nl.tudelft.simulation.introspection.beans.BeanProperty
public class BeanProperty
The JavaBean TM implementation of the Property interface. See {see BeanIntrospector}for details.
(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 | |
---|---|
protected |
BeanProperty(Object bean,
PropertyDescriptor descriptor)
constructs a new BeanProperty |
Method Summary | |
---|---|
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. |
Methods inherited from class nl.tudelft.simulation.introspection.AbstractProperty |
---|
getComponentType, isCollection, setValue |
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 |
---|
getComponentType, isCollection, setValue |
Constructor Detail |
---|
protected BeanProperty(Object bean, PropertyDescriptor descriptor)
bean
- the bean to introspectdescriptor
- the descriptor of the propertyMethod Detail |
---|
public String getName()
Property
getName
in interface Property
Property.getName()
public Class getType()
Property
getType
in interface Property
Property.getType()
protected void setRegularValue(Object values)
AbstractProperty
setRegularValue
in class AbstractProperty
values
- the new value#setRegularValue(java.lang.Object)
public Object getValue()
Property
getValue
in interface Property
Property.getValue()
public Object getInstance()
Property
getInstance
in interface Property
Property.getInstance()
public boolean isEditable()
Property
isEditable
in interface Property
Property.isEditable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |