public class SimplePropertyDescriptor extends PropertyDescriptor
| Constructor and Description |
|---|
SimplePropertyDescriptor(java.lang.Class beanClass,
java.lang.String propertyName,
java.lang.Class propertyType,
java.lang.String cullType,
int cullFieldName,
boolean required,
boolean readOnly,
boolean configurable)
Creates a new instance of SimplePropertyDescriptor
|
| Modifier and Type | Method and Description |
|---|---|
void |
clone(java.lang.Object srcBean,
java.lang.Object targetBean)
clone this property of
srcBean into
targetBean. |
java.lang.Object |
getValue(java.lang.Object bean)
get the value of this property from a bean
|
boolean |
isBrowsable()
A simple property is never browsable
|
boolean |
isRequired()
Getter for property required.
|
void |
setValue(java.lang.Object bean,
java.lang.Object value)
set the value of this property in a bean
|
java.lang.String |
toString(java.lang.Object bean) |
equals, findMethod, findMethod, getBeanClass, getCullContentField, getCullFieldName, getCullType, getJNIPropertyType, getPropertyName, getPropertyType, hasCullWrapper, hashCode, invoke, isConfigurable, isReadOnly, isSet, setBrowsable, setConfigurable, setCullContentField, setHasCullWrapper, setReadOnlypublic SimplePropertyDescriptor(java.lang.Class beanClass,
java.lang.String propertyName,
java.lang.Class propertyType,
java.lang.String cullType,
int cullFieldName,
boolean required,
boolean readOnly,
boolean configurable)
beanClass - the bean classpropertyName - name of the propertypropertyType - class of the propertycullType - cull type of the propertyrequired - is this property requiredreadOnly - is this property readonlyconfigurable - is this property configurablepublic boolean isRequired()
public void setValue(java.lang.Object bean,
java.lang.Object value)
bean - the beanvalue - the valuepublic java.lang.Object getValue(java.lang.Object bean)
bean - the beanpublic boolean isBrowsable()
isBrowsable in class PropertyDescriptorpublic void clone(java.lang.Object srcBean,
java.lang.Object targetBean)
srcBean into
targetBean.clone in class PropertyDescriptorsrcBean - the src beantargetBean - the target beanpublic java.lang.String toString(java.lang.Object bean)
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.