org.diylc.core.annotations
Annotation Type EditableProperty


@Retention(value=RUNTIME)
public @interface EditableProperty

Used to annotate editable component property. Editable property XYZ must have both getter and setter named getXYZ and setXYZ respectively and this annotation must be placed on the getter method.

Author:
Branislav Stojkovic

Optional Element Summary
 boolean defaultable
          If true, application may set default value for this property.
 java.lang.String name
          Returns property name.
 java.lang.Class<? extends IPropertyValidator> validatorClass
          Class of validator to use to
 

name

public abstract java.lang.String name
Returns property name. If left blank property name will be extracted from the getter name, e.g. getter getXYZ will induce property name XYZ.
Default value is blank.

Returns:
Default:
""

defaultable

public abstract boolean defaultable
If true, application may set default value for this property.
Default value is true.

Returns:
Default:
true

validatorClass

public abstract java.lang.Class<? extends IPropertyValidator> validatorClass
Class of validator to use to

Returns:
Default:
org.diylc.core.AllowAllValidator.class