com.sun.grid.jgdi.configuration.reflect
public abstract class AbstractClassDescriptor extends java.lang.Object implements ClassDescriptor
ClassDescriptor subclasses| Modifier | Constructor and Description |
|---|---|
protected |
AbstractClassDescriptor(java.lang.Class beanClass,
java.lang.String cullName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
add(PropertyDescriptor property) |
protected ListPropertyDescriptor |
addList(java.lang.String name,
java.lang.Class type,
java.lang.String cullType,
int cullFieldName,
boolean browsable,
boolean readOnly,
boolean configurable) |
protected MapPropertyDescriptor |
addMap(java.lang.String name,
java.lang.Class type,
java.lang.String cullType,
java.lang.Class keyType,
int cullFieldName,
int keyCullFieldName,
int valueCullFieldName,
java.lang.Object defaultKey,
boolean readOnly,
boolean configurable) |
protected MapListPropertyDescriptor |
addMapList(java.lang.String name,
java.lang.Class type,
java.lang.String cullType,
java.lang.Class keyType,
java.lang.String cullListType,
int cullFieldName,
int keyCullFieldName,
int valueCullFieldName,
java.lang.Object defaultKey,
boolean readOnly,
boolean configurable) |
protected SimplePropertyDescriptor |
addSimple(java.lang.String name,
java.lang.Class type,
java.lang.String cullType,
int cullFieldName,
boolean required,
boolean readOnly,
boolean configurable) |
java.lang.Object |
clone(java.lang.Object bean) |
java.lang.Class |
getBeanClass() |
java.lang.String |
getCullName() |
java.lang.Class |
getImplClass() |
java.util.List |
getProperties() |
PropertyDescriptor |
getProperty(int index) |
PropertyDescriptor |
getProperty(java.lang.String name) |
PropertyDescriptor |
getPropertyByCullFieldName(int cullFieldName) |
int |
getPropertyCount() |
java.lang.String[] |
getPropertyNames() |
java.lang.Object |
newInstance() |
void |
registryObjects(java.lang.Object root) |
void |
setImplClass(java.lang.Class implClass) |
java.lang.String |
toString(java.lang.Object bean) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateprotected AbstractClassDescriptor(java.lang.Class beanClass,
java.lang.String cullName)
public java.util.List getProperties()
getProperties in interface ClassDescriptorprotected void add(PropertyDescriptor property)
protected SimplePropertyDescriptor addSimple(java.lang.String name, java.lang.Class type, java.lang.String cullType, int cullFieldName, boolean required, boolean readOnly, boolean configurable)
protected ListPropertyDescriptor addList(java.lang.String name, java.lang.Class type, java.lang.String cullType, int cullFieldName, boolean browsable, boolean readOnly, boolean configurable)
protected MapPropertyDescriptor addMap(java.lang.String name, java.lang.Class type, java.lang.String cullType, java.lang.Class keyType, int cullFieldName, int keyCullFieldName, int valueCullFieldName, java.lang.Object defaultKey, boolean readOnly, boolean configurable)
protected MapListPropertyDescriptor addMapList(java.lang.String name, java.lang.Class type, java.lang.String cullType, java.lang.Class keyType, java.lang.String cullListType, int cullFieldName, int keyCullFieldName, int valueCullFieldName, java.lang.Object defaultKey, boolean readOnly, boolean configurable)
public PropertyDescriptor getProperty(java.lang.String name)
getProperty in interface ClassDescriptorpublic java.lang.String[] getPropertyNames()
getPropertyNames in interface ClassDescriptorpublic int getPropertyCount()
getPropertyCount in interface ClassDescriptorpublic PropertyDescriptor getProperty(int index)
getProperty in interface ClassDescriptorpublic PropertyDescriptor getPropertyByCullFieldName(int cullFieldName)
getPropertyByCullFieldName in interface ClassDescriptorpublic java.lang.Class getBeanClass()
getBeanClass in interface ClassDescriptorpublic java.lang.Object newInstance()
newInstance in interface ClassDescriptorpublic java.lang.Object clone(java.lang.Object bean)
clone in interface ClassDescriptorpublic void registryObjects(java.lang.Object root)
public java.lang.String getCullName()
getCullName in interface ClassDescriptorpublic java.lang.String toString(java.lang.Object bean)
toString in interface ClassDescriptorpublic java.lang.Class getImplClass()
public void setImplClass(java.lang.Class implClass)
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.