class LocationTagValidator implements Validator {

	@Override
	public void validate(Object target, Errors errors) {
		if (target != null) {
			ValidationUtils.rejectIfEmptyOrWhitespace(errors, "name", "LocationTag.error.name.required");
			ValidateUtil.validateFieldLengths(errors, target.getClass(), "name", "description", "retireReason");
		}
	}

}