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