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
- See Also:
-
Constructor Summary
ConstructorDescriptionDisplayableValueImpl
(T value, String label) DisplayableValueImpl
(T value, String label, String description) -
Method Summary
-
Constructor Details
-
DisplayableValueImpl
-
DisplayableValueImpl
-
-
Method Details
-
getValue
Description copied from interface:DisplayableValue
Retuns actual value. This may not be user-friendly.- Specified by:
getValue
in interfaceDisplayableValue<T>
-
getLabel
Description copied from interface:DisplayableValue
Returns short user-friendly label. Catalog key may be returned instead of actual text.- Specified by:
getLabel
in interfaceDisplayableValue<T>
-
getDescription
Description copied from interface:DisplayableValue
Returns 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:
getDescription
in interfaceDisplayableValue<T>
-
toString
-
equals
-
hashCode
public int hashCode()
-