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 Constructor Description IdAndNameBean(T pid, String pname)constructor initializing fields.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object pobj)StringgetDisplayString()TgetId()StringgetName()StringgetReplacementString()inthashCode()
-
-
-
Method Detail
-
getId
public final T getId()
-
getName
public final String getName()
-
getDisplayString
public String getDisplayString()
- Specified by:
getDisplayStringin interfacecom.google.gwt.user.client.ui.SuggestOracle.Suggestion
-
getReplacementString
public String getReplacementString()
- Specified by:
getReplacementStringin interfacecom.google.gwt.user.client.ui.SuggestOracle.Suggestion
-
-