@Override public boolean equalsDeep(Base other_) { if (!super.equalsDeep(other_)) return false; if (!(other_ instanceof SubstanceMoiety)) return false; SubstanceMoiety o = (SubstanceMoiety) other_; return compareDeep(role, o.role, true) && compareDeep(identifier, o.identifier, true) && compareDeep(name, o.name, true) && compareDeep(stereochemistry, o.stereochemistry, true) && compareDeep(opticalActivity, o.opticalActivity, true) && compareDeep(molecularFormula, o.molecularFormula, true) && compareDeep(amount, o.amount, true) ; }
@Override public boolean equalsDeep(Base other_) { if (!super.equalsDeep(other_)) return false; if (!(other_ instanceof SubstanceMoiety)) return false; SubstanceMoiety o = (SubstanceMoiety) other_; return compareDeep(role, o.role, true) && compareDeep(identifier, o.identifier, true) && compareDeep(name, o.name, true) && compareDeep(stereochemistry, o.stereochemistry, true) && compareDeep(opticalActivity, o.opticalActivity, true) && compareDeep(molecularFormula, o.molecularFormula, true) && compareDeep(amount, o.amount, true) ; }