Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mandarax.eca.example
Class PortfolioBeanInfo  view PortfolioBeanInfo download PortfolioBeanInfo.java

java.lang.Object
  extended byjava.beans.SimpleBeanInfo
      extended byorg.mandarax.eca.example.PortfolioBeanInfo
All Implemented Interfaces:
java.beans.BeanInfo

public class PortfolioBeanInfo
extends java.beans.SimpleBeanInfo

The bean information class for Portfolio. Useful for mandarax based persistency based on reflection: without this class the reader tries to find set methods for all get methods.


Field Summary
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
PortfolioBeanInfo()
           
 
Method Summary
static java.lang.reflect.Method findMethod(java.lang.Class aClass, java.lang.String methodName, int parameterCount)
          Find the method by comparing (name & parameter size) against the methods in the class.
static java.lang.Class getBeanClass()
          Gets the bean class.
static java.lang.String getBeanClassName()
          Gets the bean class name.
 java.beans.BeanDescriptor getBeanDescriptor()
          Force Introspection of the general bean info.
 java.beans.EventSetDescriptor[] getEventSetDescriptors()
          Return the event set descriptors for this bean.
 java.beans.MethodDescriptor[] getMethodDescriptors()
          Return the method descriptors for this bean.
 java.beans.PropertyDescriptor[] getPropertyDescriptors()
          Return the property descriptors for this bean.
private  void handleException(java.lang.Throwable exception)
          Called whenever the bean information class throws an exception.
 
Methods inherited from class java.beans.SimpleBeanInfo
getAdditionalBeanInfo, getDefaultEventIndex, getDefaultPropertyIndex, getIcon, loadImage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortfolioBeanInfo

public PortfolioBeanInfo()
Method Detail

findMethod

public static java.lang.reflect.Method findMethod(java.lang.Class aClass,
                                                  java.lang.String methodName,
                                                  int parameterCount)
Find the method by comparing (name & parameter size) against the methods in the class.


getBeanClass

public static java.lang.Class getBeanClass()
Gets the bean class.


getBeanClassName

public static java.lang.String getBeanClassName()
Gets the bean class name.


getBeanDescriptor

public java.beans.BeanDescriptor getBeanDescriptor()
Description copied from class: java.beans.SimpleBeanInfo
Force Introspection of the general bean info.


getEventSetDescriptors

public java.beans.EventSetDescriptor[] getEventSetDescriptors()
Return the event set descriptors for this bean.


getMethodDescriptors

public java.beans.MethodDescriptor[] getMethodDescriptors()
Return the method descriptors for this bean.


getPropertyDescriptors

public java.beans.PropertyDescriptor[] getPropertyDescriptors()
Return the property descriptors for this bean.


handleException

private void handleException(java.lang.Throwable exception)
Called whenever the bean information class throws an exception.