protected void prepare(){
  for (  ProcessInfoParameter para : getParameter()) {
    String name=para.getParameterName();
    if (para.getParameter() == null)     ;
 else     if (name.equals("PP_Order_ID"))     p_PP_Order_ID=para.getParameterAsInt();
 else     if (name.equals("IsPrintPickList"))     p_IsPrintPickList=para.getParameterAsBoolean();
 else     if (name.equals("IsPrintWorkflow"))     p_IsPrintWorkflow=para.getParameterAsBoolean();
 else     if (name.equals("IsPrintPackingList"))     p_IsPrintPackList=para.getParameterAsBoolean();
 else     if (name.equals("IsComplete"))     p_IsComplete=para.getParameterAsBoolean();
 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 ( "PP_Order_ID" ) ) p_PP_Order_ID = para . getParameterAsInt ( ) ; else if ( name . equals ( "IsPrintPickList" ) ) p_IsPrintPickList = para . getParameterAsBoolean ( ) ; else if ( name . equals ( "IsPrintWorkflow" ) ) p_IsPrintWorkflow = para . getParameterAsBoolean ( ) ; else if ( name . equals ( "IsPrintPackingList" ) ) p_IsPrintPackList = para . getParameterAsBoolean ( ) ; else if ( name . equals ( "IsComplete" ) ) p_IsComplete = para . getParameterAsBoolean ( ) ; else log . log ( Level . SEVERE , "prepare - Unknown Parameter: " + name ) ; } }
prepare - e . g . , get parameters .
