Class TdbClassificationFacet

  • All Implemented Interfaces:
    java.lang.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 Detail

      • TdbClassificationFacet

        public TdbClassificationFacet​(java.lang.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​(java.lang.String facetid,
                                      java.lang.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 Detail

      • 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