Package com.evolveum.midpoint.prism.impl
Class DisplayableValueImpl<T>
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.DisplayableValueImpl<T>
-
- All Implemented Interfaces:
DisplayableValue<T>,Serializable
public class DisplayableValueImpl<T> extends Object implements DisplayableValue<T>, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DisplayableValueImpl(T value, String label, String description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetDescription()Returns longer description that can be used as a help text, tooltip or for similar purpose.StringgetLabel()Returns short user-friendly label.TgetValue()Retuns actual value.inthashCode()StringtoString()
-
-
-
Method Detail
-
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>
-
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>
-
-