net.sourceforge.annovalidator.builtin.validators
Annotation Type ValidateRequired


@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface ValidateRequired

Validator for Fields that require a value.


Optional Element Summary
 java.lang.String errorCode
          A custom error code used for one specific field.
 int[] steps
          The steps in a multi-step form that this validator run in.
 

steps

public abstract int[] steps
The steps in a multi-step form that this validator run in.

Default:
{}

errorCode

public abstract java.lang.String errorCode
A custom error code used for one specific field.

Default:
""


Copyright © 2008. All Rights Reserved.