public class UserProfileValidator extends AbstractObjectValidator<UserProfileValidator,UserProfile>
Constructor and Description |
---|
UserProfileValidator(String parameterName,
UserProfile profile) |
Modifier and Type | Method and Description |
---|---|
UserProfileValidator |
notEmpty() |
UserProfileValidator |
notNull() |
getParameterName, getValue, setValue
public UserProfileValidator(String parameterName, UserProfile profile)
public UserProfileValidator notNull() throws InvalidParameterException
notNull
in class AbstractObjectValidator<UserProfileValidator,UserProfile>
InvalidParameterException
public UserProfileValidator notEmpty() throws InvalidParameterException
InvalidParameterException