Class TdbClassificationFacet

All Implemented Interfaces:
Iterable<TdbFacetValue>

public class TdbClassificationFacet extends TdbFieldTermFacet
Facet class whose value set is TRIP's automatic classification of records. The source database must have a classification scheme in its definition.
  • Constructor Details

    • TdbClassificationFacet

      public TdbClassificationFacet(String facetid) throws TdbException
      Create a facet whose value set is TRIP's automatic classification.
      Parameters:
      facetid - Application-assigned unique facet name
      Throws:
      TdbException - If invalid arguments were supplied.
    • TdbClassificationFacet

      public TdbClassificationFacet(String facetid, String mask) throws TdbException
      Create a facet whose value set is TRIP's automatic classification.
      Parameters:
      facetid - Application-assigned unique facet name
      mask - Comparison mask to select class names
      Throws:
      TdbException - If invalid arguments were supplied.
  • Method Details

    • setSortOrder

      public void setSortOrder(TdbFacetSortOrder sortOrder) throws TdbException
      Description copied from class: TdbFacet
      Sets the sort order for the values of this facet.
      Overrides:
      setSortOrder in class TdbFacet
      Parameters:
      sortOrder - Sort order type to use with this facet
      Throws:
      TdbException - If the sort order type is not valid for this facet