BeanProperty

 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
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset