/** * Utility to add a value within the "operationalLimitSet" ArrayList of * "OperationalLimitSet" * * @param operationalLimitSetValue * value to add within the ArrayList * @param setInverse * boolean to specify whether to set the inverse association or not * @throws LinkageException */ public void addOperationalLimitSet( OperationalLimitSet operationalLimitSetValue, boolean setInverse) throws LinkageException { if (operationalLimitSet == null) { operationalLimitSet = new ArrayList<OperationalLimitSet>(); } this.operationalLimitSet.add(operationalLimitSetValue); this.currentBitset.set(8); if (setInverse) { if (operationalLimitSetValue != null) { operationalLimitSetValue.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);