@Override
  public final Boolean fromString(final Map<String, Object> pAddParam,
    final String pStrVal) throws Exception {
    if (pStrVal == null // HTTP checkbox return nothing if unchecked
      || "".equals(pStrVal) || "false".equals(pStrVal)
        || "off".equals(pStrVal)) {
      return Boolean.FALSE;
    }
    return Boolean.TRUE;
  }
@ Override public final Boolean fromString ( final Map < String , Object > pAddParam , final String pStrVal ) throws Exception { if ( pStrVal == null || "" . equals ( pStrVal ) || "false" . equals ( pStrVal ) || "off" . equals ( pStrVal ) ) { return Boolean . FALSE ; } return Boolean . TRUE ; }
<p>Convert from string.</p>
@param pAddParam additional params, e.g. IRequestData
to fill owner itsVersion.
@param pStrVal string representation
@return Boolean value
@throws Exception - an exception