code: public void updateRedefinition(final String cobolName) {
          boolean found = false;
          for (XsdDataItem child : getChildren()) {
              if (child.getCobolName().equals(cobolName)) {
                  child.setIsRedefined(true);
                  found = true;
                  break;
              }
          }
          if (!found && getParent() != null) {
              getParent().updateRedefinition(cobolName);
          }
      }
docs: Called when some child (or child of a child) has a REDEFINES clause. We
  look up our children for an item matching the COBOL name of the REDEFINES
  object. If found, we update its isRedefined member, otherwise we
  propagate the request to our own parent.
  
  @param cobolName the redefines object.