/** * Adds an individual container (belonging to any software system) to this view. * * @param container the Container to add * @param addRelationships whether to add relationships to/from the container */ public void add(Container container, boolean addRelationships) { addElement(container, addRelationships); }
/** * Adds a software system to this view. Please note that you cannot add the software system * that is the scope of this view. * * @param softwareSystem the SoftwareSystem to add * @param addRelationships whether to add relationships to/from the software system */ @Override public void add(@Nonnull SoftwareSystem softwareSystem, boolean addRelationships) { if (softwareSystem != null && !softwareSystem.equals(getSoftwareSystem())) { addElement(softwareSystem, addRelationships); } }