sparqlGraphLibrary/src/main/java/com/ge/research/semtk/belmont/NodeGroup.java
public void inflateAndValidate(OntologyInfo oInfo, ImportSpec importSpec, ArrayList<String> modelErrMsgs, ArrayList<NodeGroupItemStr> invalidItems, ArrayList<String> warnings) throws Exception  {
		this.oInfo = oInfo;
		if (oInfo.getNumberOfClasses() == 0 && this.getNodeList().size() > 0) {
			throw new ValidationException("Model contains no classes. Nodegroup can't be validated.");
		}
		
		for (Node n : this.getNodeList()) {
			n.inflateAndValidate(oInfo, importSpec, modelErrMsgs, invalidItems, warnings);
		}
	}
/**
	 * This version inflates and validates fully even after errors are found
	 * @param oInfo
	 * @param modelErrMsgs - populated with error messages (if null, first model error throws exception)
	 * @param invalidItems - populated with NodeGroupItemStr for invalid items, if not null
	 * @throws Exception - non-model errors, or first model error if modelErrMsgs is null
	 */
This version inflates and validates fully even after errors are found
@param oInfo
@param modelErrMsgs - populated with error messages (if null, first model error throws exception)
@param invalidItems - populated with NodeGroupItemStr for invalid items, if not null
@throws Exception - non-model errors, or first model error if modelErrMsgs is null
This version inflates and validates fully even after errors are found @param oInfo @param modelErrMsgs - populated with error messages ( if null first model error throws exception ) @param invalidItems - populated with NodeGroupItemStr for invalid items if not null @throws Exception - non - model errors or first model error if modelErrMsgs is null
public void inflateAndValidate(OntologyInfo oInfo, ImportSpec importSpec, ArrayList<String> modelErrMsgs, ArrayList<NodeGroupItemStr> invalidItems, ArrayList<String> warnings) throws Exception  {
		this.oInfo = oInfo;
		if (oInfo.getNumberOfClasses() == 0 && this.getNodeList().size() > 0) {
			throw new ValidationException("Model contains no classes. Nodegroup can't be validated.");
		}
		for (Node n : this.getNodeList()) {
			n.inflateAndValidate(oInfo, importSpec, modelErrMsgs, invalidItems, warnings);
		}
	}
public void inflateAndValidate ( OntologyInfo oInfo , ImportSpec importSpec , ArrayList < String > modelErrMsgs , ArrayList < NodeGroupItemStr > invalidItems , ArrayList < String > warnings ) throws Exception { this . oInfo = oInfo ; if ( oInfo . getNumberOfClasses ( ) == 0 && this . getNodeList ( ) . size ( ) > 0 ) { throw new ValidationException ( "Model contains no classes. Nodegroup can't be validated." ) ; } for ( Node n : this . getNodeList ( ) ) { n . inflateAndValidate ( oInfo , importSpec , modelErrMsgs , invalidItems , warnings ) ; } }
This version inflates and validates fully even after errors are found
 @param oInfo
 @param modelErrMsgs - populated with error messages (if null, first model error throws exception)
 @param invalidItems - populated with NodeGroupItemStr for invalid items, if not null
 @throws Exception - non-model errors, or first model error if modelErrMsgs is null
This version inflates and validates fully even after errors are found @param oInfo @param modelErrMsgs - populated with error messages ( if null first model error throws exception ) @param invalidItems - populated with NodeGroupItemStr for invalid items if not null @throws Exception - non - model errors or first model error if modelErrMsgs is null