com.googlecode.openbeans
Class BeanDescriptor

java.lang.Object
  extended by com.googlecode.openbeans.FeatureDescriptor
      extended by com.googlecode.openbeans.BeanDescriptor

public class BeanDescriptor
extends FeatureDescriptor

Describes a bean's global information.


Constructor Summary
BeanDescriptor(Class<?> beanClass)
           Constructs an instance with the bean's Class.
BeanDescriptor(Class<?> beanClass, Class<?> customizerClass)
           Constructs an instance with the bean's Class and a customizer Class.
 
Method Summary
 Class<?> getBeanClass()
           Gets the bean's Class.
 Class<?> getCustomizerClass()
           Gets the bean's customizer Class/
 
Methods inherited from class com.googlecode.openbeans.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,
                      Class<?> customizerClass)

Constructs an instance with the bean's Class and a customizer Class. The descriptor's FeatureDescriptor.getName() is set as the unqualified name of the beanClass.

Parameters:
beanClass - The bean's Class.
customizerClass - The bean's customizer Class.

BeanDescriptor

public BeanDescriptor(Class<?> beanClass)

Constructs an instance with the bean's Class. The descriptor's FeatureDescriptor.getName() is set as the unqualified name of the beanClass.

Parameters:
beanClass - The bean's Class.
Method Detail

getCustomizerClass

public Class<?> getCustomizerClass()

Gets the bean's customizer Class/

Returns:
A Class instance or null.

getBeanClass

public Class<?> getBeanClass()

Gets the bean's Class.

Returns:
A Class instance.


Copyright © 2013. All Rights Reserved.