示例#1
0
  /**
   * @param node
   * @param xmlKey
   */
  public XMLColumns(Node currentNode, XMLKey xmlKey) {
    this.superKey = xmlKey;

    List<Node> nodeList = getNodes(O_COLUMN, currentNode);
    if (ListUtil.isNotEmpty(nodeList)) {
      for (Node node : nodeList) {
        idList.add(getNodeText(META_REF, node));
      }
      log.debug(INITIALLIZED_NAME, "XMLColumns");
    }
  }
示例#2
0
  /**
   * @param node
   * @param xmlIndexColumn
   */
  public XMLColumns(Node currentNode, XMLIndexColumn xmlIndexColumn) {
    this.superIndexColumn = xmlIndexColumn;

    List<Node> nodeList = getNodes(O_COLUMN, currentNode);
    if (ListUtil.isNotEmpty(nodeList)) {
      idList = new SimpleList<String>();
      for (Node node : nodeList) {
        idList.add(getNodeText(META_REF, node));
      }
      log.debug(INITIALLIZED_NAME, "XMLColumns");
    }
  }