Class TopicCharacteristicGrabbers


  • public class TopicCharacteristicGrabbers
    extends Object
    INTERNAL: A convenience class for creating grabbers that grab specific topic characteristics, using various criteria, including scope.
    Since:
    1.1
    • Method Detail

      • getDisplayNameGrabber

        public static Function<TopicIF,​NameIF> getDisplayNameGrabber()
        INTERNAL: Returns a grabber that will grab the name most suitable for display from a topic. If the topic has a display name that name will be chosen. If not, the base name in the least constrained scope will be chosen.
        Returns:
        A TopicNameIF or VariantNameIF object; null if the topic has no base names.
      • getSortNameGrabber

        public static Function<TopicIF,​NameIF> getSortNameGrabber()
        INTERNAL: Returns a grabber that will grab the name most suitable for sorting from a topic. If the topic has a sort name that name will be chosen. If not, the base name in the least constrained scope will be chosen.
        Returns:
        A TopicNameIF or VariantNameIF object; null if the topic has no base names.