com.infoengine.soap.util
Class Bean
java.lang.Object
com.infoengine.soap.util.Bean
- public class Bean
- extends Object
IMPORTANT: this class must remain independant of Info*Engine classes so
that it can remain portable and be used by clients in non
Info*Engine VMs
parentBean
private Bean parentBean
className
private String className
attributes
private List attributes
attributesMap
private Map attributesMap
beanClass
private Class beanClass
expanding
private String expanding
Bean
Bean(String className)
throws ClassNotFoundException,
InstantiationException,
IllegalAccessException,
NotSerializableException,
IntrospectionException
Bean
Bean(Bean parentBean,
String className)
throws ClassNotFoundException,
InstantiationException,
IllegalAccessException,
NotSerializableException,
IntrospectionException
loadBean
private void loadBean()
throws ClassNotFoundException,
InstantiationException,
IllegalAccessException,
NotSerializableException,
IntrospectionException
- Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException
NotSerializableException
IntrospectionException
expandedBeanClass
Bean expandedBeanClass(String beanClass)
findNestedBeans
Bean[] findNestedBeans(List hierarchy)
findNestedBeans
public Bean[] findNestedBeans()
findAttribute
private BeanAttribute findAttribute(String attrName)
getAttribute
public BeanAttribute getAttribute(String attrName)
addAttribute
private BeanAttribute addAttribute(BeanAttribute attr)
addAttribute
private BeanAttribute addAttribute(String name,
Class cls)
getClassName
public String getClassName()
getBeanClass
public Class getBeanClass()
getAttributes
public BeanAttribute[] getAttributes()
describe
private void describe(BeanInfo binfo,
Class c)
throws ClassNotFoundException,
InstantiationException,
IllegalAccessException,
NotSerializableException,
IntrospectionException
- Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException
NotSerializableException
IntrospectionException
_describe
private void _describe(BeanInfo binfo,
Class c)
throws ClassNotFoundException,
InstantiationException,
IllegalAccessException,
NotSerializableException,
IntrospectionException
- Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException
NotSerializableException
IntrospectionException
toString
String toString(String indent)
toString
public String toString()