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


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

Assert that a method or field will be a date in the past 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.
 

message

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

Returns:
Default:
"{constraint.past}"

groups

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

Returns:
Default:
{}