BeanProperty is an annotation type. We use this annotation to specify a property so that we can automatically generate BeanInfo classes. This is a relatively new annotation for Java, starting with Java 9.
The BeanProperty annotation has the following optional elements:
- boolean bound
- String description
- String[] enumerationValues
- boolean expert
- boolean hidden
- boolean preferred
- boolean required
- boolean visualUpdate