scala.beans.BeanProperty
When attached to a field, this annotation adds a setter and a getter method
following the Java Bean convention. For example:
adds the following methods to the class:
For fields of type Boolean
, if you need a getter named isStatus
, use the
scala.beans.BooleanBeanProperty
annotation instead.
Instance Constructors From scala.beans.BeanProperty
new BeanProperty()
(defined at scala.beans.BeanProperty)
Full Source: