Package io.milton.annotations
Annotation 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.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionRequired role to read this propertybooleanTrue 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 accessRequired role to change the property
-
Element Details
-
readRole
AccessControlledResource.Priviledge readRoleRequired role to read this property- Returns:
- Default:
- READ
-
writeRole
AccessControlledResource.Priviledge writeRoleRequired role to change the property- Returns:
- Default:
- WRITE
-
value
boolean valueTrue 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
-