/** * Utility to add a value within the "regulatingCondEq" ArrayList of * "RegulatingCondEq" * * @param regulatingCondEqValue * value to add within the ArrayList * @param setInverse * boolean to specify whether to set the inverse association or not * @throws LinkageException */ public void addRegulatingCondEq( RegulatingCondEq regulatingCondEqValue, boolean setInverse) throws LinkageException { if (regulatingCondEq == null) { regulatingCondEq = new ArrayList<RegulatingCondEq>(); } this.regulatingCondEq.add(regulatingCondEqValue); this.currentBitset.set(2); if (setInverse) { if (regulatingCondEqValue != null) { regulatingCondEqValue.setRegulatingControl(this, false); } } }
this.setRegulatingControl(attributeToSet, setInverse); } catch(LinkageException e) { LOGGER.error(e.toString(), e); this.setRegulatingControl(attributeToSetFromBoundary, setInverse); } catch(LinkageException e) { LOGGER.error(e.toString(), e);