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

@param returnId  The value to validate.
@return  the Boolean equivalent of returnId
@throws ValidationException if returnId is not null and non-boolean.
Validates the optional returnId boolean . @param returnId The value to validate . @return the Boolean equivalent of returnId @throws ValidationException if returnId is not null and non - boolean .
public static Boolean validateReturnId(final String returnId) 
			throws ValidationException {
		return validateOptionalBoolean(
				returnId, 
				ErrorCode.SURVEY_INVALID_RETURN_ID, 
				"The return ID value is invalid: ");
	}
public static Boolean validateReturnId ( final String returnId ) throws ValidationException { return validateOptionalBoolean ( returnId , ErrorCode . SURVEY_INVALID_RETURN_ID , "The return ID value is invalid: " ) ; }
Validates the optional returnId boolean.
Validates the optional returnId boolean .