Class DataItem

    • Constructor Detail

      • DataItem

        public DataItem​(@NotNull
                        String value,
                        @Nullable
                        String details)
        Creates new data item.
        Parameters:
        value - value to be used if this item is selected
        details - some additional details for the item (optional)
      • DataItem

        public DataItem​(@NotNull
                        String value,
                        @Nullable
                        String details,
                        @Nullable
                        Map<String,​String> attributes)
        Creates new data item with optional additional attributes.
        Parameters:
        value - value to be used if this item is selected
        details - some additional details for the item (optional)
        attributes - additional attributes associated with data item
    • Method Detail

      • getValue

        @NotNull
        public String getValue()
      • getDetails

        @Nullable
        public String getDetails()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object