code: public void replaceValue(Object bodyObj, Object replaceValue) {
          Object parentObj = bodyObj;
  
          if(this.listChild) {
              ValidationData rootListParent = this.findListParent();
              if(this.deepLevel - rootListParent.deepLevel > 1 ){
                  parentObj = this.parent.getValue(bodyObj);
              }
          }
          else {
              if (this.parentId != null) {
                  parentObj = this.parent.getValue(bodyObj);
              }
          }
  
          this.setter(this, parentObj, replaceValue);
      }
docs: Replace value.
  
  @param bodyObj      the body obj
  @param replaceValue the replace value