/** * Invoked by JAXB for marshalling a citation to the formula. In principle at most one of * {@code getFormulaCitation()} and {@link #getFormulaDescription()} methods can return a * non-null value. However SIS accepts both coexist (but this is invalid GML). */ @XmlElement(name = "formulaCitation") private Citation getFormulaCitation() { final Formula formula = getFormula(); // Give to users a chance to override. return (formula != null) ? formula.getCitation() : null; }
/** * Invoked by JAXB for marshalling a citation to the formula. In principle at most one of * {@code getFormulaCitation()} and {@link #getFormulaDescription()} methods can return a * non-null value. However SIS accepts both coexist (but this is invalid GML). */ @XmlElement(name = "formulaCitation") private Citation getFormulaCitation() { final Formula formula = getFormula(); // Give to users a chance to override. return (formula != null) ? formula.getCitation() : null; }
/** * Invoked by JAXB for marshalling the formula literally. In principle at most one of * {@code getFormulaDescription()} and {@link #getFormulaCitation()} methods can return * a non-null value. However SIS accepts both to coexist (but this is invalid GML). */ @XmlElement(name = "formula") private String getFormulaDescription() { final Formula formula = getFormula(); // Give to users a chance to override. return (formula != null) ? StringAdapter.toString(formula.getFormula()) : null; }
/** * Invoked by JAXB for marshalling the formula literally. In principle at most one of * {@code getFormulaDescription()} and {@link #getFormulaCitation()} methods can return * a non-null value. However SIS accepts both to coexist (but this is invalid GML). */ @XmlElement(name = "formula") private String getFormulaDescription() { final Formula formula = getFormula(); // Give to users a chance to override. return (formula != null) ? StringAdapter.toString(formula.getFormula()) : null; }
if (!Objects.equals(getFormula(), ((OperationMethod) object).getFormula())) { return false;
if (!Objects.equals(getFormula(), ((OperationMethod) object).getFormula())) { return false;