@Target(value=METHOD) @Retention(value=RUNTIME) public @interface BeanProperty
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.
| Modifier and Type | Optional Element and Description |
|---|---|
AccessControlledResource.Priviledge |
readRole
Required role to read this property
|
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
|
AccessControlledResource.Priviledge |
writeRole
Required role to change the property
|
public abstract AccessControlledResource.Priviledge readRole
public abstract AccessControlledResource.Priviledge writeRole