private StringTreeNode buildOrgHierarchyTree ( final Object [ ] data ) { StringTreeNode childNode = new StringTreeNode ( ( String ) data [ 0 ] ) ; if ( data . length > 1 ) { for ( int i = 1 ; i < data . length ; i ++ ) { childNode . add ( buildOrgHierarchyTree ( ( Object [ ] ) data [ i ] ) ) ; } } return childNode ; }
Builds one level of the org hierarchy tree .