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