software/test/performance/src/org/LexGrid/LexBIG/example/remote2/ListHierarchy2.java
/**
     * Discovers all registered hierarchies for the coding scheme and
     * display each in turn.
     * @param code
     * @param maxDepth
     * @param displayConcepts
     * @throws LBException
     */
Discovers all registered hierarchies for the coding scheme and
display each in turn.
Discovers all registered hierarchies for the coding scheme and display each in turn .
protected void printHierarchies(
        String code, int maxDepth, boolean displayConcepts) throws LBException
    {
        CodedNodeSet cns = _lbscm.createCodeNodeSet(new String[] {code}, 
            _scheme, _csvt);
        ResolvedConceptReferenceList roots = cns.resolveToList(null, null, null, 1);
        for (int j = 0; j < roots.getResolvedConceptReferenceCount(); j++) {
            ResolvedConceptReference root = roots.getResolvedConceptReference(j);
            printHierarchyBranch(1, null, root, 1, maxDepth, null, displayConcepts);
        }
    }
protected void printHierarchies ( String code , int maxDepth , boolean displayConcepts ) throws LBException { CodedNodeSet cns = _lbscm . createCodeNodeSet ( new String [ ] { code } , _scheme , _csvt ) ; ResolvedConceptReferenceList roots = cns . resolveToList ( null , null , null , 1 ) ; for ( int j = 0 ; j < roots . getResolvedConceptReferenceCount ( ) ; j ++ ) { ResolvedConceptReference root = roots . getResolvedConceptReference ( j ) ; printHierarchyBranch ( 1 , null , root , 1 , maxDepth , null , displayConcepts ) ; } }
Discovers all registered hierarchies for the coding scheme and
 display each in turn.
Discovers all registered hierarchies for the coding scheme and display each in turn .
// Print all branches from root ...
 //DYEE: ResolvedConceptReferenceList roots = lbscm.getHierarchyRoots(scheme, csvt, hierarchyID);
