src/org/ohmage/domain/campaign/SurveyItem.java
public final void validateCondition(
			final ConditionValuePair pair)
			throws DomainException {

		
		// If the value is a valid NoResponse value, then it is acceptable to
		// compare against this prompt.
		if(checkNoResponseConditionValuePair(pair)) {
			return;
		}
		
		validateConditionValuePair(pair);
	}
/**
	 * Validates that a condition-value pair is valid for the given prompt.
	 * 
	 * @param pair The condition-value pair to validate.
	 * 
	 * @throws DomainException The value was not applicable for the prompt or
	 * 						   was invalid for some constraint on the prompt.
	 */
Validates that a condition-value pair is valid for the given prompt.

@param pair The condition-value pair to validate.

@throws DomainException The value was not applicable for the prompt or
was invalid for some constraint on the prompt.
Validates that a condition - value pair is valid for the given prompt . @param pair The condition - value pair to validate . @throws DomainException The value was not applicable for the prompt or was invalid for some constraint on the prompt .
public final void validateCondition(
			final ConditionValuePair pair)
			throws DomainException {
		if(checkNoResponseConditionValuePair(pair)) {
			return;
		}
		validateConditionValuePair(pair);
	}
public final void validateCondition ( final ConditionValuePair pair ) throws DomainException { if ( checkNoResponseConditionValuePair ( pair ) ) { return ; } validateConditionValuePair ( pair ) ; }
Validates that a condition-value pair is valid for the given prompt.
Validates that a condition - value pair is valid for the given prompt .
// If the value is a valid NoResponse value, then it is acceptable to // compare against this prompt.