jaxx.runtime.validator.swing.meta
Annotation Type ValidatorField


@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface ValidatorField

Annotation to put on each field or method linked to a validator.

Since:
2.3
Author:
tchemit

Required Element Summary
 String propertyName
          Obtain the name of the bean property to validate.
 String validatorId
          Obtain the id of the validator used for the field.
 
Optional Element Summary
 String editorName
          Obtain the name of the property editor.
 

Element Detail

validatorId

public abstract String validatorId
Obtain the id of the validator used for the field.

Returns:
the id of the validator used for the field.

propertyName

public abstract String propertyName
Obtain the name of the bean property to validate.

Returns:
the name of the property to validate

editorName

public abstract String editorName
Obtain the name of the property editor.

If empty, then use the propertyName().

Returns:
the name of the property editor
Default:
""


Copyright © 2008-2011 CodeLutin. All Rights Reserved.