sparqlGraphLibrary/src/main/java/com/ge/research/semtk/sparqlX/dispatch/DispatchServiceManager.java
private void removeTriggers(NodeGroup ng) throws Exception {
		if (this.serviceMnemonic == null) { return; }
		
		// sparqledc.js extQueryRemoveTrigger
		ArrayList<Node> triggerNodeList = new ArrayList<Node>();
		OntologyClass edcValue = new OntologyClass(EDC_VALUE);
		
		// First pass: find trigger nodes
		for (Node node : ng.getNodeList()) {
			String uri = node.getFullUriName();
			OntologyClass classCompared = this.oInfo.getClass(uri);
			if (this.oInfo.classIsA(classCompared, edcValue)) {
				triggerNodeList.add(node);
			}
		}
		
		// Second pass: delete trigger nodes
		for (Node node : triggerNodeList) {
			ng.deleteNode(node, false);
		}
		
		// PEC NOTE:  sparqledc.js line 721 looks like we do something silly
		//            with ExternalFiles: ie setIsReturned(false) instead of deleteNode()
		
	}
/**
	 * If there is a serviceMnemonic, remove any EDC_VALUE nodes
	 */
If there is a serviceMnemonic, remove any EDC_VALUE nodes
If there is a serviceMnemonic remove any EDC_VALUE nodes
private void removeTriggers(NodeGroup ng) throws Exception {
		if (this.serviceMnemonic == null) { return; }
		ArrayList<Node> triggerNodeList = new ArrayList<Node>();
		OntologyClass edcValue = new OntologyClass(EDC_VALUE);
		for (Node node : ng.getNodeList()) {
			String uri = node.getFullUriName();
			OntologyClass classCompared = this.oInfo.getClass(uri);
			if (this.oInfo.classIsA(classCompared, edcValue)) {
				triggerNodeList.add(node);
			}
		}
		for (Node node : triggerNodeList) {
			ng.deleteNode(node, false);
		}
	}
private void removeTriggers ( NodeGroup ng ) throws Exception { if ( this . serviceMnemonic == null ) { return ; } ArrayList < Node > triggerNodeList = new ArrayList < Node > ( ) ; OntologyClass edcValue = new OntologyClass ( EDC_VALUE ) ; for ( Node node : ng . getNodeList ( ) ) { String uri = node . getFullUriName ( ) ; OntologyClass classCompared = this . oInfo . getClass ( uri ) ; if ( this . oInfo . classIsA ( classCompared , edcValue ) ) { triggerNodeList . add ( node ) ; } } for ( Node node : triggerNodeList ) { ng . deleteNode ( node , false ) ; } }
If there is a serviceMnemonic, remove any EDC_VALUE nodes
If there is a serviceMnemonic remove any EDC_VALUE nodes
// sparqledc.js extQueryRemoveTrigger // First pass: find trigger nodes // Second pass: delete trigger nodes // PEC NOTE:  sparqledc.js line 721 looks like we do something silly //            with ExternalFiles: ie setIsReturned(false) instead of deleteNode()