/** * Utility to set the "fossilFuelsValue" * * @param fossilFuelsValue * instance to set * @param setInverse * boolean to specify whether to set the inverse association * or not * @throws LinkageException */ public void setFossilFuels( FossilFuel fossilFuelsValue, boolean setInverse) throws LinkageException { this.fossilFuels = fossilFuelsValue; this.currentBitset.set(0); if (setInverse) { if (fossilFuelsValue != null) { fossilFuelsValue.setThermalGeneratingUnit(this, false); } } }
this.setThermalGeneratingUnit(attributeToSet, setInverse); } catch(LinkageException e) { LOGGER.error(e.toString(), e); this.setThermalGeneratingUnit(attributeToSetFromBoundary, setInverse); } catch(LinkageException e) { LOGGER.error(e.toString(), e);