sparqlGraphLibrary/src/main/java/com/ge/research/semtk/belmont/NodeGroup.java
private void updateUnionHashNodeItems(String oldItemStr, String newItemStr) {
		String oldPrefix = NodeGroupItemStr.getNodeItemPrefix(oldItemStr);
		String newPrefix = NodeGroupItemStr.getNodeItemPrefix(newItemStr);
		for (Integer key : this.unionHash.keySet()) {
			ArrayList<String> val = this.unionHash.get(key);
			for (int i=0; i < val.size(); i++) {
				if (val.get(i).startsWith(oldPrefix)) {
					if (newItemStr != null) {
						val.set(i, NodeGroupItemStr.replaceNodeItemPrefix(val.get(i), newPrefix));
						break;
					} else {
						val.remove(i);
						break;
					}
				}
			}
		}
	}
/**
	 * Update the union hash when a nodeItem has changed URI domain
	 * @param oldItemStr
	 * @param newItemStr - or null to delete
	 */
Update the union hash when a nodeItem has changed URI domain
@param oldItemStr
@param newItemStr - or null to delete
Update the union hash when a nodeItem has changed URI domain @param oldItemStr @param newItemStr - or null to delete
private void updateUnionHashNodeItems(String oldItemStr, String newItemStr) {
		String oldPrefix = NodeGroupItemStr.getNodeItemPrefix(oldItemStr);
		String newPrefix = NodeGroupItemStr.getNodeItemPrefix(newItemStr);
		for (Integer key : this.unionHash.keySet()) {
			ArrayList<String> val = this.unionHash.get(key);
			for (int i=0; i < val.size(); i++) {
				if (val.get(i).startsWith(oldPrefix)) {
					if (newItemStr != null) {
						val.set(i, NodeGroupItemStr.replaceNodeItemPrefix(val.get(i), newPrefix));
						break;
					} else {
						val.remove(i);
						break;
					}
				}
			}
		}
	}
private void updateUnionHashNodeItems ( String oldItemStr , String newItemStr ) { String oldPrefix = NodeGroupItemStr . getNodeItemPrefix ( oldItemStr ) ; String newPrefix = NodeGroupItemStr . getNodeItemPrefix ( newItemStr ) ; for ( Integer key : this . unionHash . keySet ( ) ) { ArrayList < String > val = this . unionHash . get ( key ) ; for ( int i = 0 ; i < val . size ( ) ; i ++ ) { if ( val . get ( i ) . startsWith ( oldPrefix ) ) { if ( newItemStr != null ) { val . set ( i , NodeGroupItemStr . replaceNodeItemPrefix ( val . get ( i ) , newPrefix ) ) ; break ; } else { val . remove ( i ) ; break ; } } } } }
Update the union hash when a nodeItem has changed URI domain
 @param oldItemStr
 @param newItemStr - or null to delete
Update the union hash when a nodeItem has changed URI domain @param oldItemStr @param newItemStr - or null to delete