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