/** * Replace the container with a new one based on the parent and settings in this Container */ public void replaceContainer(Object container) { if (container == null) { throw new IllegalArgumentException("No null params allowed"); } if (key != null) { FieldUtils.getInstance().setFieldValue(parent, key, container); } else if (index >= 0) { FieldUtils.getInstance().setIndexedValue(parent, index, container); } // if not key or index then do nothing except replacing the value this.container = container; } /**
/** * Replace the container with a new one based on the parent and settings in this Container */ public void replaceContainer(Object container) { if (container == null) { throw new IllegalArgumentException("No null params allowed"); } if (key != null) { FieldUtils.getInstance().setFieldValue(parent, key, container); } else if (index >= 0) { FieldUtils.getInstance().setIndexedValue(parent, index, container); } // if not key or index then do nothing except replacing the value this.container = container; } /**
setMappedValue(obj, name, value); } else if (getResolver().isIndexed(name)) { setIndexedValue(obj, name, value); } else { setSimpleValue(obj, name, value);
setMappedValue(obj, name, value); } else if (getResolver().isIndexed(name)) { setIndexedValue(obj, name, value); } else { setSimpleValue(obj, name, value);