Class IdAndNameBean<T>
java.lang.Object
de.knightsoftnet.mtwidgets.client.ui.widget.helper.IdAndNameBean<T>
- All Implemented Interfaces:
com.google.gwt.user.client.ui.SuggestOracle.Suggestion
- Direct Known Subclasses:
IdAndNamePlusIconBean
public class IdAndNameBean<T>
extends Object
implements com.google.gwt.user.client.ui.SuggestOracle.Suggestion
helper bean for sorting entries.
- Author:
- Manfred Tremmel
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IdAndNameBean
constructor initializing fields.- Parameters:
id- id of the entryname- name of the entry
-
-
Method Details
-
getId
-
getName
-
getDisplayString
- Specified by:
getDisplayStringin interfacecom.google.gwt.user.client.ui.SuggestOracle.Suggestion
-
getReplacementString
- Specified by:
getReplacementStringin interfacecom.google.gwt.user.client.ui.SuggestOracle.Suggestion
-
hashCode
public int hashCode() -
equals
-