Annotation Interface BeanProperty


@Target(METHOD) @Retention(RUNTIME) public @interface BeanProperty
Annotation type to identify properties to be accessible by BeanPropertySource

This allows them to have their properties read from and written to by PROPFIND and PROPPATCH.

Note that to implement validation rules with feedback to the user you can throw a PropertySource.PropertySetException from within your setters.

  • Element Details

    • readRole

      Required role to read this property
      Returns:
      Default:
      READ
    • writeRole

      Required role to change the property
      Returns:
      Default:
      WRITE
    • value

      boolean value
      True indicates that the method should be enabled (ie DAV accessible) regardless of the class default False indicats that the property is accessible if the class default is to allow access
      Returns:
      Default:
      true