Пример #1
0
 public void fromXmlData(XmlData xd) {
   tableName = xd.getParamValueStr("table_name");
   XmlData stxd = xd.getSubDataSingle("struct");
   if (stxd != null) {
     XmlDataStruct xds = new XmlDataStruct();
     xds.fromXmlData(stxd);
     tableXmlST = xds;
   }
   pkColName = xd.getParamValueStr("pk_col_name");
   selectSql = xd.getParamValueStr("select_sql");
 }
Пример #2
0
    public void fromXmlData(XmlData xd) {
      this.nodeId = xd.getParamValueStr("node_id");

      this.bRunning = xd.getParamValueBool("is_running", false).booleanValue();

      this.selTransId = xd.getParamValueStr("sel_trans_id");

      Long[] ids = xd.getParamValuesInt64("ins_ids");
      if (ids != null) {
        for (Long id : ids) this.relatedInsIds.add(id);
      }
    }