BeanDescriptor - JRE Emulation | JRE Emulation
public class

BeanDescriptor

extends FeatureDescriptor
java.lang.Object
   ↳ java.beans.FeatureDescriptor
     ↳ java.beans.BeanDescriptor

Class Overview

Describes a bean's global information.

Summary

Public Constructors
BeanDescriptor(Class<?> beanClass, Class<?> customizerClass)

Constructs an instance with the bean's Class and a customizer Class.

BeanDescriptor(Class<?> beanClass)

Constructs an instance with the bean's Class.

Public Methods
Class<?> getBeanClass()

Gets the bean's Class.

Class<?> getCustomizerClass()

Gets the bean's customizer Class/

Inherited Methods
[Expand]
From class java.beans.FeatureDescriptor
From class java.lang.Object

Public Constructors

public BeanDescriptor (Class<?> beanClass, Class<?> customizerClass)

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

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

public BeanDescriptor (Class<?> beanClass)

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

Parameters
beanClass The bean's Class.

Public Methods

public Class<?> getBeanClass ()

Gets the bean's Class.

Returns

public Class<?> getCustomizerClass ()

Gets the bean's customizer Class/

Returns
  • A Class instance or null.