Class TermFactory


  • public final class TermFactory
    extends Object
    TermFactory is a factory for Term instances with frequently used field names.
    • Constructor Detail

      • TermFactory

        public TermFactory()
    • Method Detail

      • createUUIDTerm

        public static Term createUUIDTerm​(String id)
        Creates a Term with the given id value and with a field name FieldNames.UUID.
        Parameters:
        id - the id.
        Returns:
        the UUIDTerm.