src/main/java/cz/diribet/aqdef/model/AqdefHierarchy.java
/**
	 * Removes node definition and all subnode definitions as well as node bindings for the provided part.
	 *
	 * @param index index of the part to remove hierarchy for
	 */
Removes node definition and all subnode definitions as well as node bindings for the provided part.
@param index index of the part to remove hierarchy for
Removes node definition and all subnode definitions as well as node bindings for the provided part . @param index index of the part to remove hierarchy for
public void removeHierarchyForPart(PartIndex index) {
		if (index == null) {
			return;
		}
		Optional<NodeIndex> nodeIndex = getNodeIndexOfPart(index.getIndex());
		nodeIndex.ifPresent(this::removeHierarchyPartForNode);
	}
public void removeHierarchyForPart ( PartIndex index ) { if ( index == null ) { return ; } Optional < NodeIndex > nodeIndex = getNodeIndexOfPart ( index . getIndex ( ) ) ; nodeIndex . ifPresent ( this :: removeHierarchyPartForNode ) ; }
Removes node definition and all subnode definitions as well as node bindings for the provided part.
Removes node definition and all subnode definitions as well as node bindings for the provided part .