/** * Utility to set the "regulatingControlValue" * * @param regulatingControlValue * instance to set * @param setInverse * boolean to specify whether to set the inverse association * or not * @throws LinkageException */ public void setRegulatingControl( RegulatingControl regulatingControlValue, boolean setInverse) throws LinkageException { this.regulatingControl = regulatingControlValue; this.currentBitset.set(0); if (setInverse) { if (regulatingControlValue != null) { regulatingControlValue.addRegulatingCondEq(this, false); } } }