com.facetmap.sql
Class TaxonomyImpl

java.lang.Object
  extended by com.facetmap.simple.SimpleFacet
      extended by com.facetmap.simple.SimpleTaxonomyFacet
          extended by com.facetmap.sql.LinearFacet
              extended by com.facetmap.sql.TaxonomyImpl
All Implemented Interfaces:
Facet, SqlFacet, TaxonomyFacet

public class TaxonomyImpl
extends LinearFacet
implements SqlFacet

This TaxonomyFacet implementation is an immutable compilation of the Headings provided to it at construction time.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.facetmap.Facet
Facet.Util
 
Field Summary
 
Fields inherited from class com.facetmap.sql.LinearFacet
endCol, facetIndex, startCol
 
Fields inherited from class com.facetmap.simple.SimpleFacet
facetid, index, nameMap, rootHeading, title
 
Constructor Summary
TaxonomyImpl(java.lang.String id, java.lang.String title, IndexedHeading rootHeading)
           
TaxonomyImpl(TaxonomyFacet sourceTaxonomy)
           
 
Method Summary
 TaxonomyHeading getTaxonomyHeading(java.lang.String id)
           
 
Methods inherited from class com.facetmap.sql.LinearFacet
getHeading, getIndexedHeading, getSqlFacetSpace, getSqlHeading, getTableName, setSqlFacetSpace, sqlCreate
 
Methods inherited from class com.facetmap.simple.SimpleTaxonomyFacet
addHeading, appendHeadingInto, getHeadingCount, getSimpleTaxonomyHeading, insertHeadingInto, size
 
Methods inherited from class com.facetmap.simple.SimpleFacet
connectHeading, containsHeading, getId, getRootHeading, getTitle, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.facetmap.sql.SqlFacet
getSqlFacetSpace, getSqlHeading, setSqlFacetSpace, sqlCreate
 
Methods inherited from interface com.facetmap.Facet
getHeading, getId, getRootHeading, getTitle
 

Constructor Detail

TaxonomyImpl

public TaxonomyImpl(TaxonomyFacet sourceTaxonomy)

TaxonomyImpl

public TaxonomyImpl(java.lang.String id,
                    java.lang.String title,
                    IndexedHeading rootHeading)
Method Detail

getTaxonomyHeading

public TaxonomyHeading getTaxonomyHeading(java.lang.String id)
                                   throws UnknownReferenceException
Specified by:
getTaxonomyHeading in interface TaxonomyFacet
Overrides:
getTaxonomyHeading in class SimpleTaxonomyFacet
Throws:
UnknownReferenceException