Exemplo n.º 1
0
 /**
  * mark the pv if NVP concept
  *
  * @param curBean evs bean object
  * @param session HttpSession object
  */
 @SuppressWarnings("unchecked")
 public void markNVPConcept(EVS_Bean curBean, HttpSession session) {
   Vector<String> vNVP = (Vector) session.getAttribute("NVPConcepts");
   if (vNVP == null) vNVP = new Vector<String>();
   String conID = curBean.getCONCEPT_IDENTIFIER();
   if (conID != null && vNVP.contains(conID)) curBean.setNAME_VALUE_PAIR_IND(1);
   else curBean.setNAME_VALUE_PAIR_IND(0);
 }
Exemplo n.º 2
0
 /** @param copyBean evs bean object ot copy to */
 public EVS_Bean(EVS_Bean copyBean) {
   this.setLONG_NAME(copyBean.getLONG_NAME());
   this.setCONDR_IDSEQ(copyBean.getCONDR_IDSEQ());
   this.setCON_AC_SUBMIT_ACTION(copyBean.getCON_AC_SUBMIT_ACTION());
   this.setCONCEPT_NAME(copyBean.getCONCEPT_NAME());
   this.setCONTE_IDSEQ(copyBean.getCONTE_IDSEQ());
   this.setDISPLAY_ORDER(copyBean.getDISPLAY_ORDER());
   this.setPREFERRED_DEFINITION(copyBean.getPREFERRED_DEFINITION());
   this.setEVS_CONCEPT_SOURCE(copyBean.getEVS_CONCEPT_SOURCE());
   this.setEVS_DATABASE(copyBean.getEVS_DATABASE());
   this.setEVS_DEF_SOURCE(copyBean.getEVS_DEF_SOURCE());
   this.setEVS_ORIGIN(copyBean.getEVS_ORIGIN());
   this.setEVS_SEMANTIC(copyBean.getEVS_SEMANTIC());
   this.setID(copyBean.getID());
   this.setIDSEQ(copyBean.getIDSEQ());
   this.setASL_NAME(copyBean.getASL_NAME());
   this.setLEVEL(copyBean.getLEVEL());
   this.setDEC_USING(copyBean.getDEC_USING());
   this.setCONCEPT_IDENTIFIER(copyBean.getCONCEPT_IDENTIFIER());
   this.setNCI_CC_TYPE(copyBean.getNCI_CC_TYPE());
   this.setNAME_VALUE_PAIR_IND(copyBean.getNAME_VALUE_PAIR_IND());
   this.setNVP_CONCEPT_VALUE(copyBean.getNVP_CONCEPT_VALUE());
 }