java.beans
Class BeanDescriptor

java.lang.Object
  extended by java.beans.FeatureDescriptor
      extended by java.beans.BeanDescriptor

public class BeanDescriptor
extends FeatureDescriptor

BeanDescriptor describes general information about a Bean, plus stores the Bean's Class and it's customizer's Class.

Since:
JDK1.1

Constructor Summary
BeanDescriptor(Class<?> beanClass)
          Create a new BeanDescriptor with the given beanClass and no customizer class.
BeanDescriptor(Class<?> beanClass, Class<?> customizerClass)
          Create a new BeanDescriptor with the given bean class and customizer class.
 
Method Summary
 Class<?> getBeanClass()
          Get the Bean's class.
 Class<?> getCustomizerClass()
          Get the Bean's customizer's class.
 
Methods inherited from class java.beans.FeatureDescriptor
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanDescriptor

public BeanDescriptor(Class<?> beanClass)
Create a new BeanDescriptor with the given beanClass and no customizer class.

Parameters:
beanClass - the class of the Bean.

BeanDescriptor

public BeanDescriptor(Class<?> beanClass,
                      Class<?> customizerClass)
Create a new BeanDescriptor with the given bean class and customizer class.

Parameters:
beanClass - the class of the Bean.
customizerClass - the class of the Bean's Customizer.
Method Detail

getBeanClass

public Class<?> getBeanClass()
Get the Bean's class.


getCustomizerClass

public Class<?> getCustomizerClass()
Get the Bean's customizer's class.