com.bradmcevoy.property
Annotation Type BeanPropertyResource


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface BeanPropertyResource

Annotation type to identify classes to be accessible by BeanPropertySource This allows them to have their properties read from and written to by PROPFIND and PROPPATCH.

Author:
brad

Required Element Summary
 java.lang.String value
          Default property which is the namespace uri for the properties on this resource E.g.
 
Optional Element Summary
 boolean enableByDefault
          If true, indicates that properties on the resource should be accessible unless otherwise specified
 boolean writable
           
 

Element Detail

value

public abstract java.lang.String value
Default property which is the namespace uri for the properties on this resource E.g. http://mycompany.com/ns/example

Returns:
- the namespace uri

writable

public abstract boolean writable
Returns:
- true allows the resource to be updatable
Default:
true

enableByDefault

public abstract boolean enableByDefault
If true, indicates that properties on the resource should be accessible unless otherwise specified

Returns:
Default:
true


Copyright © 2011. All Rights Reserved.