protected void prepare(){
  for (  ProcessInfoParameter para : getParameter()) {
    String name=para.getParameterName();
    if (para.getParameter() == null)     ;
 else     if (name.equals(X_M_Product.COLUMNNAME_M_Product_ID)) {
      p_M_Product_ID=para.getParameterAsInt();
    }
 else     if (name.equals(X_M_Warehouse.COLUMNNAME_M_Warehouse_ID)) {
      p_M_Warehouse_ID=para.getParameterAsInt();
    }
 else     if (name.equals("DateTrx")) {
      p_DateTrx=(Timestamp)para.getParameter();
    }
 else     if (name.equals(X_PP_Order_BOMLine.COLUMNNAME_QtyRequired)) {
      p_QtyRequiered=(BigDecimal)para.getParameter();
    }
 else     if (name.equals(X_PP_Product_BOMLine.COLUMNNAME_BackflushGroup)) {
      p_BackflushGroup=(String)para.getParameter();
    }
 else     if (name.equals(X_T_BOMLine.COLUMNNAME_LevelNo)) {
      p_LevelNo=para.getParameterAsInt();
    }
 else     log.log(Level.SEVERE,"prepare - Unknown Parameter: " + name);
  }
}

protected void prepare ( ) { for ( ProcessInfoParameter para : getParameter ( ) ) { String name = para . getParameterName ( ) ; if ( para . getParameter ( ) == null ) ; else if ( name . equals ( X_M_Product . COLUMNNAME_M_Product_ID ) ) { p_M_Product_ID = para . getParameterAsInt ( ) ; } else if ( name . equals ( X_M_Warehouse . COLUMNNAME_M_Warehouse_ID ) ) { p_M_Warehouse_ID = para . getParameterAsInt ( ) ; } else if ( name . equals ( "DateTrx" ) ) { p_DateTrx = ( Timestamp ) para . getParameter ( ) ; } else if ( name . equals ( X_PP_Order_BOMLine . COLUMNNAME_QtyRequired ) ) { p_QtyRequiered = ( BigDecimal ) para . getParameter ( ) ; } else if ( name . equals ( X_PP_Product_BOMLine . COLUMNNAME_BackflushGroup ) ) { p_BackflushGroup = ( String ) para . getParameter ( ) ; } else if ( name . equals ( X_T_BOMLine . COLUMNNAME_LevelNo ) ) { p_LevelNo = para . getParameterAsInt ( ) ; } else log . log ( Level . SEVERE , "prepare - Unknown Parameter: " + name ) ; } }
prepare - e . g . , get parameters .
