Class SearchValue<T>
- java.lang.Object
 - 
- com.evolveum.midpoint.gui.impl.component.search.SearchValue<T>
 
 
- 
- All Implemented Interfaces:
 DisplayableValue<T>,Serializable
public class SearchValue<T> extends Object implements DisplayableValue<T>, Serializable
- Author:
 - Viliam Repan (lazyman)
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description SearchValue()SearchValue(T value)SearchValue(T value, String label) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleanequals(Object o)StringgetDescription()Returns longer description that can be used as a help text, tooltip or for similar purpose.StringgetDisplayName()StringgetLabel()Returns short user-friendly label.TgetValue()Retuns actual value.inthashCode()voidsetDisplayName(String displayName)voidsetLabel(String label)voidsetValue(T value)StringtoString() 
 - 
 
- 
- 
Field Detail
- 
F_VALUE
public static final String F_VALUE
- See Also:
 - Constant Field Values
 
 
- 
F_LABEL
public static final String F_LABEL
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getDescription
public String getDescription()
Description copied from interface:DisplayableValueReturns longer description that can be used as a help text, tooltip or for similar purpose. Catalog key may be returned instead of actual text.- Specified by:
 getDescriptionin interfaceDisplayableValue<T>
 
- 
getValue
public T getValue()
Description copied from interface:DisplayableValueRetuns actual value. This may not be user-friendly.- Specified by:
 getValuein interfaceDisplayableValue<T>
 
- 
getLabel
public String getLabel()
Description copied from interface:DisplayableValueReturns short user-friendly label. Catalog key may be returned instead of actual text.- Specified by:
 getLabelin interfaceDisplayableValue<T>
 
- 
setLabel
public void setLabel(String label)
 
- 
setValue
public void setValue(T value)
 
- 
getDisplayName
public String getDisplayName()
 
- 
setDisplayName
public void setDisplayName(String displayName)
 
- 
clear
public void clear()
 
 - 
 
 -