class BeanProperty

[source: scala/reflect/BeanProperty.scala]

class BeanProperty
extends StaticAnnotation

This attribute adds a setter and a getter method, following the Java Bean convention (first letter of the property is capitalized) used by popular Java web frameworks. For example:

    var status = ""

adds the following methods to the generated code

    def setStatus(s: String) { this.status = s }
    def getStatus: String = this.status

However, you cannot call setStatus from Scala, you should use the normal Scala access and assignment.

Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf