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