Class SearchSuggestion

  • All Implemented Interfaces:
    java.lang.Comparable<SearchSuggestion>

    public class SearchSuggestion
    extends java.lang.Object
    implements java.lang.Comparable<SearchSuggestion>
    A SearchSuggestion is provided to the user and was created from a (partial) search query. A suggestion is a very abstract and may not directly relate to a vertex. For example a category. The main idea is, that a SearchSuggestion represents an item a user can select, which afterwards is resolved to a List of vertices/edges.
    • Constructor Summary

      Constructors 
      Constructor Description
      SearchSuggestion​(java.lang.String providerId, java.lang.String context, java.lang.String id, java.lang.String label)  
    • Constructor Detail

      • SearchSuggestion

        public SearchSuggestion​(java.lang.String providerId,
                                java.lang.String context,
                                java.lang.String id,
                                java.lang.String label)
    • Method Detail

      • getId

        public java.lang.String getId()
      • setId

        public void setId​(java.lang.String id)
      • getLabel

        public java.lang.String getLabel()
      • setLabel

        public void setLabel​(java.lang.String label)
      • getContext

        public java.lang.String getContext()
      • setContext

        public void setContext​(java.lang.String context)
      • getProvider

        public java.lang.String getProvider()
      • setProvider

        public void setProvider​(java.lang.String provider)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object