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


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

Asserts that the given field or method is not null 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.notnull}"

groups

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

Returns:
Default:
{}