sparqlGraphLibrary/src/main/java/com/ge/research/semtk/belmont/NodeGroup.java
public void unOptionalizeConstrained(Returnable targetObj) throws Exception {
		boolean saveIsReturned = targetObj.getIsReturned();
		ValueConstraint saveConstraint = targetObj.getValueConstraint();
		
		targetObj.setValueConstraint(new ValueConstraint("FILTER(?neverExecuted==1))"));
		targetObj.setIsReturned(true);
		
		this.unOptionalizeConstrained();
		
		targetObj.setValueConstraint(saveConstraint);
		targetObj.setIsReturned(saveIsReturned);
	}
/**
	 * Version for FILTER queries.  Make sure targetObj is also not optional.
	 * @param targetObj
	 * @throws Exception
	 */
Version for FILTER queries.  Make sure targetObj is also not optional.
@param targetObj
@throws Exception
Version for FILTER queries . Make sure targetObj is also not optional . @param targetObj @throws Exception
public void unOptionalizeConstrained(Returnable targetObj) throws Exception {
		boolean saveIsReturned = targetObj.getIsReturned();
		ValueConstraint saveConstraint = targetObj.getValueConstraint();
		targetObj.setValueConstraint(new ValueConstraint("FILTER(?neverExecuted==1))"));
		targetObj.setIsReturned(true);
		this.unOptionalizeConstrained();
		targetObj.setValueConstraint(saveConstraint);
		targetObj.setIsReturned(saveIsReturned);
	}
public void unOptionalizeConstrained ( Returnable targetObj ) throws Exception { boolean saveIsReturned = targetObj . getIsReturned ( ) ; ValueConstraint saveConstraint = targetObj . getValueConstraint ( ) ; targetObj . setValueConstraint ( new ValueConstraint ( "FILTER(?neverExecuted==1))" ) ) ; targetObj . setIsReturned ( true ) ; this . unOptionalizeConstrained ( ) ; targetObj . setValueConstraint ( saveConstraint ) ; targetObj . setIsReturned ( saveIsReturned ) ; }
Version for FILTER queries.
Version for FILTER queries .