Esempio n. 1
0
  private void initNode(Map m, Neo4jNode node) {
    String nodeid = String.valueOf(m.get("nodeId"));
    String apprdate = (String) m.get("apprdate");
    String congro = (String) m.get("congro");
    String congrocur = (String) m.get("congrocur");
    String country = (String) m.get("country");
    String empnum = String.valueOf(m.get("empnum"));
    String entstatus = (String) m.get("entstatus");
    String enttype = (String) m.get("enttype");
    String esdate = (String) m.get("esdate");
    String industryco = (String) m.get("industryco");
    String inv_name = (String) m.get("inv_name");
    String n = (String) m.get("node");
    String node_type = (String) m.get("node_type");
    String oriregno = (String) m.get("oriregno");
    String ppripid = (String) m.get("ppripid");
    String pregno = (String) m.get("pregno");
    String reccap = String.valueOf(m.get("reccap"));

    String regcap = String.valueOf(m.get("regcap"));
    String regcapcur = (String) m.get("regcapcur");
    String regno = (String) m.get("regno");
    String sconform = (String) m.get("sconform");
    node.setNodeId(Long.parseLong(nodeid));
    node.setApprdate(apprdate);
    node.setCongro(congro);
    node.setCongrocur(congrocur);
    node.setCountry(country);
    node.setEmpnum(empnum);
    node.setEntstatus(entstatus);
    node.setEnttype(enttype);
    node.setEsdate(esdate);
    node.setIndustryco(industryco);
    node.setInv_name(inv_name);
    node.setNode(n);
    node.setNode_type(node_type);
    node.setOriregno(oriregno);
    node.setPpripid(ppripid);
    node.setPregno(pregno);
    node.setReccap(Float.parseFloat(reccap));
    node.setRegcap(Float.parseFloat(regcap));
    node.setRegcapcur(regcapcur);
    node.setRegno(regno);
    node.setSconform(sconform);
  }