Package

scala

beans

Permalink

package beans

Visibility
  1. Public
  2. All

Type Members

  1. class BeanDescription extends Annotation

    Permalink

    Provides a short description that will be included when generating bean information.

    Provides a short description that will be included when generating bean information. This annotation can be attached to the bean itself, or to any member.

  2. class BeanDisplayName extends Annotation

    Permalink

    Provides a display name when generating bean information.

    Provides a display name when generating bean information. This annotation can be attached to the bean itself, or to any member.

  3. class BeanInfo extends Annotation

    Permalink

    This annotation indicates that a JavaBean-compliant BeanInfo class should be generated for this annotated Scala class.

    This annotation indicates that a JavaBean-compliant BeanInfo class should be generated for this annotated Scala class.

    • A val becomes a read-only property.
    • A var becomes a read-write property.
    • A def becomes a method.
  4. class BeanInfoSkip extends Annotation

    Permalink

    This annotation indicates that bean information should not be generated for the val, var, or def that it is attached to.

    This annotation indicates that bean information should not be generated for the val, var, or def that it is attached to.

  5. class BeanProperty extends Annotation with StaticAnnotation

    Permalink

    When attached to a field, this annotation adds a setter and a getter method following the Java Bean convention.

    When attached to a field, this annotation adds a setter and a getter method following the Java Bean convention. For example:

    @BeanProperty
    var status = ""

    adds the following methods to the class:

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

    For fields of type Boolean, if you need a getter named isStatus, use the scala.beans.BooleanBeanProperty annotation instead.

    Annotations
    @field()
  6. class BooleanBeanProperty extends Annotation with StaticAnnotation

    Permalink

    This annotation has the same functionality as scala.beans.BeanProperty, but the generated Bean getter will be named isFieldName instead of getFieldName.

    This annotation has the same functionality as scala.beans.BeanProperty, but the generated Bean getter will be named isFieldName instead of getFieldName.

    Annotations
    @field()
  7. abstract class ScalaBeanInfo extends SimpleBeanInfo

    Permalink

    Provides some simple runtime processing necessary to create JavaBean descriptors for Scala entities.

    Provides some simple runtime processing necessary to create JavaBean descriptors for Scala entities. The compiler creates subclasses of this class automatically when the BeanInfo annotation is attached to a class.

Ungrouped