Package org.bgerp.model.param
Class ParameterValue
java.lang.Object
org.bgerp.model.param.ParameterValue
Parameter value
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvidessrc
attribute for HTMLimg
tag in form ofdata:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUA...===
.getValue()
void
-
Constructor Details
-
ParameterValue
-
-
Method Details
-
getParameter
-
getValue
- Returns:
- object representation depending on parameter's type.
-
setValue
-
getValueTitle
- Returns:
- human-readable parameter value,
null
ifvalue
isnull
-
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
-