Class SearchValue<T>

    • Constructor Detail

      • SearchValue

        public SearchValue()
      • SearchValue

        public SearchValue​(T value)
      • SearchValue

        public SearchValue​(T value,
                           String label)
    • Method Detail

      • getDescription

        public String getDescription()
        Description copied from interface: DisplayableValue
        Returns longer description that can be used as a help text, tooltip or for similar purpose. Catalog key may be returned instead of actual text.
        Specified by:
        getDescription in interface DisplayableValue<T>
      • getLabel

        public String getLabel()
        Description copied from interface: DisplayableValue
        Returns short user-friendly label. Catalog key may be returned instead of actual text.
        Specified by:
        getLabel in interface DisplayableValue<T>
      • setLabel

        public void setLabel​(String label)
      • setValue

        public void setValue​(T value)
      • getDisplayName

        public String getDisplayName()
      • setDisplayName

        public void setDisplayName​(String displayName)
      • clear

        public void clear()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object