|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.grid.jgdi.configuration.reflect.PropertyDescriptor
com.sun.grid.jgdi.configuration.reflect.SimplePropertyDescriptor
public class SimplePropertyDescriptor
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class com.sun.grid.jgdi.configuration.reflect.PropertyDescriptor |
|---|
equals, findMethod, findMethod, getBeanClass, getCullContentField, getCullFieldName, getCullType, getJNIPropertyType, getPropertyName, getPropertyType, hasCullWrapper, hashCode, invoke, isConfigurable, isReadOnly, isSet, setBrowsable, setConfigurable, setCullContentField, setHasCullWrapper, setReadOnly |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public 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 configurable| Method Detail |
|---|
public 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 bean
public boolean isBrowsable()
isBrowsable in class PropertyDescriptor
public 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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||