src/org/ohmage/validator/SurveyResponseValidators.java
public static Boolean validateSuppressMetadata(
			final String suppressMetadata) throws ValidationException {
		
		return validateOptionalBoolean(
				suppressMetadata, 
				ErrorCode.SURVEY_INVALID_SUPPRESS_METADATA_VALUE, 
				"The suppress metadata value is invalid: ");
	}
/**
	 * Validates the optional suppressMetadata boolean.
	 * 
	 * @param suppressMetadata  The value to validate.
	 * @return  the Boolean equivalent of suppressMetadata 
	 * @throws ValidationException if suppressMetadata is not null and non-boolean.
	 * @throws IllegalArgumentException if the request is null
	 */
Validates the optional suppressMetadata boolean.

@param suppressMetadata  The value to validate.
@return  the Boolean equivalent of suppressMetadata
@throws ValidationException if suppressMetadata is not null and non-boolean.
@throws IllegalArgumentException if the request is null
Validates the optional suppressMetadata boolean . @param suppressMetadata The value to validate . @return the Boolean equivalent of suppressMetadata @throws ValidationException if suppressMetadata is not null and non - boolean . @throws IllegalArgumentException if the request is null
public static Boolean validateSuppressMetadata(
			final String suppressMetadata) throws ValidationException {
		return validateOptionalBoolean(
				suppressMetadata, 
				ErrorCode.SURVEY_INVALID_SUPPRESS_METADATA_VALUE, 
				"The suppress metadata value is invalid: ");
	}
public static Boolean validateSuppressMetadata ( final String suppressMetadata ) throws ValidationException { return validateOptionalBoolean ( suppressMetadata , ErrorCode . SURVEY_INVALID_SUPPRESS_METADATA_VALUE , "The suppress metadata value is invalid: " ) ; }
Validates the optional suppressMetadata boolean.
Validates the optional suppressMetadata boolean .