Class SimpleAutoSuggestDataSet.Result
java.lang.Object
com.foreach.across.modules.entity.autosuggest.SimpleAutoSuggestDataSet.Result
- All Implemented Interfaces:
AutoSuggestDataSet.Result
- Enclosing class:
- SimpleAutoSuggestDataSet
public static class SimpleAutoSuggestDataSet.Result
extends Object
implements AutoSuggestDataSet.Result
Represent a single auto-suggest result.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Result
-
-
Method Details
-
of
Create a result instance of an object, where the object is considered to be the value ofid
and thetoString()
method of the object will be called to generate the label.- Parameters:
data
- which represents the result- Returns:
- result instance
-
getId
- Specified by:
getId
in interfaceAutoSuggestDataSet.Result
-
getLabel
- Specified by:
getLabel
in interfaceAutoSuggestDataSet.Result
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-