Package org.bgerp.model.param
Class ParameterValuePair
java.lang.Object
org.bgerp.model.param.ParameterValuePair
- Direct Known Subclasses:
ParameterValuePair
Parameter value.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionProvidessrc
attribute for HTMLimg
tag in form ofdata:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUA...===
.getValue()
static final String
getValueTitle
(Parameter parameter, Object value) void
setParameter
(Parameter parameter) void
void
setValueTitle
(String valueTitle)
-
Constructor Details
-
ParameterValuePair
-
-
Method Details
-
getParameter
-
setParameter
-
getValue
- Returns:
- object representation depending on parameter's type.
-
setValue
-
setValueTitle
-
getValueTitle
- Returns:
- display parameter representation.
-
getBase64EncodedImgSrc
Providessrc
attribute for HTMLimg
tag in form ofdata:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUA...===
.- Returns:
- encoded string or
null
if parameter value is alsonull
. - Throws:
IllegalArgumentException
- when parameter type is not 'file'.Exception
-
getValueTitle
-