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