cug.ptree
Interface PTreeOwner

All Known Subinterfaces:
CugOrg
All Known Implementing Classes:
CugOrgImpl, PTreeOwnerImpl

public interface PTreeOwner

interface for an object that owns 1 or more PTrees; (pluggability)


Method Summary
 void build()
          initialize data
 void buildImport()
          initialize data from external source (import data)
 java.lang.String getName()
           
 PTree getPTree()
          return main ptree ie the ptree that is always found
 PTree getPTree(java.lang.String code)
           
 java.lang.String[] getRootCodes()
           
 

Method Detail

getName

public java.lang.String getName()

build

public void build()
           throws java.lang.Exception
initialize data

java.lang.Exception

buildImport

public void buildImport()
                 throws java.lang.Exception
initialize data from external source (import data)

java.lang.Exception

getPTree

public PTree getPTree()
return main ptree ie the ptree that is always found

Returns:
PTree main ptree

getPTree

public PTree getPTree(java.lang.String code)
Returns:
PTree

getRootCodes

public java.lang.String[] getRootCodes()
Returns:
String[] rootcodes for all ptrees this ptree-owner knows of