in scala.reflect
class BeanProperty

class BeanProperty
extends scala.Attribute
with scala.ScalaObject
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
  [BeanProperty]
  var status = ""

adds the following methods to the generated code

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

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


Constructor Summary
def this

Constructor Detail
def this