public class SearchSuggestion extends Object implements Comparable<SearchSuggestion>
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 and Description |
---|
SearchSuggestion(String providerId,
String context,
String id,
String label) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SearchSuggestion that) |
boolean |
equals(Object o) |
String |
getContext() |
String |
getId() |
String |
getLabel() |
String |
getProvider() |
int |
hashCode() |
void |
setContext(String context) |
void |
setId(String id) |
void |
setLabel(String label) |
void |
setProvider(String provider) |
String |
toString() |
public String getId()
public void setId(String id)
public String getLabel()
public void setLabel(String label)
public String getContext()
public void setContext(String context)
public String getProvider()
public void setProvider(String provider)
public int compareTo(SearchSuggestion that)
compareTo
in interface Comparable<SearchSuggestion>
Copyright © 2021. All rights reserved.