# BeanDescriptor

public class **BeanDescriptor** extends [FeatureDescriptor](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html)  
Describes a bean's global information.

### Public Constructor Summary

|---|---|
|   | [BeanDescriptor](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/BeanDescriptor.html#BeanDescriptor(java.lang.Class<?>,%20java.lang.Class<?>))([Class](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html)\<?\> beanClass, [Class](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html)\<?\> customizerClass) Constructs an instance with the bean's `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html` and a customizer `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html`. |
|   | [BeanDescriptor](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/BeanDescriptor.html#BeanDescriptor(java.lang.Class<?>))([Class](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html)\<?\> beanClass) Constructs an instance with the bean's `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html`. |

### Public Method Summary

|---|---|
| [Class](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html)\<?\> | [getBeanClass](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/BeanDescriptor.html#getBeanClass())() Gets the bean's `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html`. |
| [Class](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html)\<?\> | [getCustomizerClass](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/BeanDescriptor.html#getCustomizerClass())() Gets the bean's customizer `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html`/ |

### Inherited Method Summary

From class [java.beans.FeatureDescriptor](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html)

|---|---|
| [Enumeration](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Enumeration.html)\<[String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html)\> | [attributeNames](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html#attributeNames())() Enumerates the attribute names. |
| [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [getDisplayName](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html#getDisplayName())() Gets the display name or `https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html#getName()` if not set. |
| [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [getName](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html#getName())() Gets the name. |
| [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [getShortDescription](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html#getShortDescription())() Gets the short description or `https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html#getDisplayName()` if not set. |
| [Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) | [getValue](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html#getValue(java.lang.String))([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) attributeName) Gets the value associated with the named attribute. |
| boolean | [isExpert](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html#isExpert())() Indicates if this feature is an expert feature. |
| boolean | [isHidden](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html#isHidden())() Indicates if this feature is hidden. |
| boolean | [isPreferred](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html#isPreferred())() Indicates if this feature is preferred. |
| void | [setDisplayName](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html#setDisplayName(java.lang.String))([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) displayName) Sets the display name. |
| void | [setExpert](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html#setExpert(boolean))(boolean expert) Sets the expert indicator. |
| void | [setHidden](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html#setHidden(boolean))(boolean hidden) Sets the hidden indicator. |
| void | [setName](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html#setName(java.lang.String))([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) name) Sets the name. |
| void | [setPreferred](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html#setPreferred(boolean))(boolean preferred) Sets the preferred indicator. |
| void | [setShortDescription](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html#setShortDescription(java.lang.String))([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) text) Sets the short description. |
| void | [setValue](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html#setValue(java.lang.String,%20java.lang.Object))([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) attributeName, [Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) value) Sets the value for the named attribute. |

From class [java.lang.Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html)

|---|---|
| [Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) | [clone](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#clone())() Creates and returns a copy of this `Object`. |
| boolean | [equals](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#equals(java.lang.Object))([Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) obj) Compares this instance with the specified object and indicates if they are equal. |
| void | [finalize](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#finalize())() Invoked when the garbage collector has detected that this instance is no longer reachable. |
| final [Class](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html)\<?\> | [getClass](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#getClass())() Returns the unique instance of `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html` that represents this object's class. |
| int | [hashCode](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#hashCode())() Returns an integer hash code for this object. |
| final void | [notify](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#notify())() Causes a thread which is waiting on this object's monitor (by means of calling one of the `wait()` methods) to be woken up. |
| final void | [notifyAll](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#notifyAll())() Causes all threads which are waiting on this object's monitor (by means of calling one of the `wait()` methods) to be woken up. |
| [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [toString](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#toString())() Returns a string containing a concise, human-readable description of this object. |
| final void | [wait](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#wait(long,%20int))(long timeout, int nanos) Causes the calling thread to wait until another thread calls the `notify()` or `notifyAll()` method of this object or until the specified timeout expires. |
| final void | [wait](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#wait(long))(long timeout) Causes the calling thread to wait until another thread calls the `notify()` or `notifyAll()` method of this object or until the specified timeout expires. |
| final void | [wait](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#wait())() Causes the calling thread to wait until another thread calls the `notify()` or `notifyAll()` method of this object. |

## Public Constructors

#### public
**BeanDescriptor**
([Class](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html)\<?\> beanClass, [Class](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html)\<?\> customizerClass)

<br />


Constructs an instance with the bean's `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html` and a customizer
`https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html`. The descriptor's `https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html#getName()` is set as the
unqualified name of the `beanClass`.

<br />

##### Parameters

| beanClass | The bean's Class. |
| customizerClass | The bean's customizer Class. |
|---|---|

#### public
**BeanDescriptor**
([Class](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html)\<?\> beanClass)

<br />


Constructs an instance with the bean's `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html`. The descriptor's
`https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/FeatureDescriptor.html#getName()` is set as the unqualified name of the
`beanClass`.

<br />

##### Parameters

| beanClass | The bean's Class. |
|---|---|

## Public Methods

#### public [Class](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html)\<?\>
**getBeanClass**
()

<br />


Gets the bean's `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html`.

<br />

##### Returns

- A `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html` instance.

#### public [Class](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html)\<?\>
**getCustomizerClass**
()

<br />


Gets the bean's customizer `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html`/

<br />

##### Returns

- A `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html` instance or `null`.