code: public void traverseHierarchy()
  	{
  		String pdbId = "4HHB";
  		// download SCOP if required and load into memory
  		ScopDatabase scop = ScopFactory.getSCOP();
  
  		List<ScopDomain> domains = scop.getDomainsForPDB(pdbId);
  
  		// show the hierachy for the first domain:
  
  		ScopNode node = scop.getScopNode(domains.get(0).getSunid());
  
  		while (node != null){
  
  			System.out.println("This node: sunid:" + node.getSunid() );
  			System.out.println(scop.getScopDescriptionBySunid(node.getSunid()));
  			node = scop.getScopNode(node.getParentSunid());
  		}
  
  	}
docs: Traverse throught the SCOP hierarchy