com.google.gwt.validation.client
Annotation Type Min


@Documented
@Target(value={METHOD,FIELD})
@ConstraintValidator(value=MinValidator.class)
@Retention(value=RUNTIME)
public @interface Min

Asserts what the minimum value of the field or method should be when validated.

Author:
chris

Optional Element Summary
 java.lang.String[] groups
          Groups that the constraint belongs to
 java.lang.String message
          Message that is returned on validation failure.
 int minimum
          The minimum value of the field or method.
 

message

public abstract java.lang.String message
Message that is returned on validation failure.

Returns:
Default:
"{constraint.min}"

groups

public abstract java.lang.String[] groups
Groups that the constraint belongs to

Returns:
Default:
{}

minimum

public abstract int minimum
The minimum value of the field or method.

Returns:
Default:
0