/** * Gets the formula present in the validation * * @return the validation formula as a string * @exception FormulaException */ String getValidationFormula() throws FormulaException { if (type == LIST) { return formula1.getFormula(); } String s1 = formula1.getFormula(); String s2 = formula2 != null ? formula2.getFormula() : null; return condition.getConditionString(s1, s2) + "; x " + type.getDescription(); }