software/test/performance/src/org/LexGrid/LexBIG/example/ListHierarchyMetaBySource.java
/**
	 * Handle one level of the tree, and recurse up to the indicated depth.
	 * @param depth
	 * @param sab
	 * @param lbSvc
	 * @param csvt
	 * @param scheme
	 * @param tagOrVersion
	 * @throws LBException
	 */
Handle one level of the tree, and recurse up to the indicated depth.
Handle one level of the tree and recurse up to the indicated depth .
protected void print(
			int depth,
			String sab,
			EVSApplicationService lbSvc,
			String scheme,
			CodingSchemeVersionOrTag csvt) throws LBException
	{
		Util.displayMessage("===============================================");
		Util.displayMessage("PROCESSING SAB: " + sab);
		Util.displayMessage("===============================================");
		LexBIGServiceConvenienceMethods lbscm = (LexBIGServiceConvenienceMethods) lbSvc.getGenericExtension("LexBIGServiceConvenienceMethods");
        lbscm.setLexBIGService(lbSvc);
		PropertyType[] presentationProps = new PropertyType[] {PropertyType.PRESENTATION};
		CodedNodeSet rootNodeSet = lbscm.getHierarchyRootSet(scheme, csvt, null);
		rootNodeSet = rootNodeSet.restrictToProperties(
				null, presentationProps,
				ConvenienceMethods.createLocalNameList(sab),
				null, null);
		ResolvedConceptReferenceList rootNodes =
			rootNodeSet.resolveToList(null, null, presentationProps, -1);
		printChain(lbscm, scheme, sab, csvt, rootNodes, depth);
	}
protected void print ( int depth , String sab , EVSApplicationService lbSvc , String scheme , CodingSchemeVersionOrTag csvt ) throws LBException { Util . displayMessage ( "===============================================" ) ; Util . displayMessage ( "PROCESSING SAB: " + sab ) ; Util . displayMessage ( "===============================================" ) ; LexBIGServiceConvenienceMethods lbscm = ( LexBIGServiceConvenienceMethods ) lbSvc . getGenericExtension ( "LexBIGServiceConvenienceMethods" ) ; lbscm . setLexBIGService ( lbSvc ) ; PropertyType [ ] presentationProps = new PropertyType [ ] { PropertyType . PRESENTATION } ; CodedNodeSet rootNodeSet = lbscm . getHierarchyRootSet ( scheme , csvt , null ) ; rootNodeSet = rootNodeSet . restrictToProperties ( null , presentationProps , ConvenienceMethods . createLocalNameList ( sab ) , null , null ) ; ResolvedConceptReferenceList rootNodes = rootNodeSet . resolveToList ( null , null , presentationProps , - 1 ) ; printChain ( lbscm , scheme , sab , csvt , rootNodes , depth ) ; }
Handle one level of the tree, and recurse up to the indicated depth.
Handle one level of the tree and recurse up to the indicated depth .
// NOTE: Processing relations for a specific hierarchy (by ID) in Meta
 // can be slow, since it relies on transitivity checks to determine
 // whether it is possible to navigate from concepts back to a specific
 // root nodes registered against the hierarchy ID.
 // However, for Meta we really don't need to worry about a specific
 // hierarchy ID. We can assume navigation of all hierarchies (boiled
 // down to PAR/CHD) and restrict nodes and associations by source to
 // get what we need.
