Class AbstractHierarchicalTerm

    • Field Detail

      • terms

        protected java.util.List<Term> terms
        The embedded TermUtils.
    • Constructor Detail

      • AbstractHierarchicalTerm

        public AbstractHierarchicalTerm()
    • Method Detail

      • getTerms

        public java.util.List<Term> getTerms()
        Returns a list of the embedded TermUtils.
        Returns:
        a list of the embedded terms
      • add

        public void add​(Term term)
        Adds a Term to the list of embedded TermUtils.
        Parameters:
        term - the term to add
      • add

        public void add​(Term... terms)
        Adds Terms to the list of embedded TermUtils.
        Parameters:
        terms - the terms to add
      • size

        public int size()
        Returns the number of embedded TermUtils.
        Returns:
        the number of embedded terms