/** * Iterate on the value holder for its mapping. */ public void iterateValueHolderForMapping(ValueHolderInterface valueHolder, DatabaseMapping mapping) { setCurrentMapping(mapping); setCurrentDescriptor(null); if (shouldIterateOnIndirectionObjects()) {// false by default internalIterateValueHolder(valueHolder); } if (shouldIterateOverUninstantiatedIndirectionObjects() || (shouldIterateOverIndirectionObjects() && valueHolder.isInstantiated())) { // force instantiation only if specified mapping.iterateOnRealAttributeValue(this, valueHolder.getValue()); } }
/** * Iterate on the value holder for its mapping. */ public void iterateValueHolderForMapping(ValueHolderInterface valueHolder, DatabaseMapping mapping) { setCurrentMapping(mapping); setCurrentDescriptor(null); if (shouldIterateOnIndirectionObjects()) {// false by default internalIterateValueHolder(valueHolder); } if (shouldIterateOverUninstantiatedIndirectionObjects() || (shouldIterateOverIndirectionObjects() && valueHolder.isInstantiated())) { // force instantiation only if specified mapping.iterateOnRealAttributeValue(this, valueHolder.getValue()); } }
/** * Iterate on the value holder for its mapping. */ public void iterateValueHolderForMapping(ValueHolderInterface valueHolder, DatabaseMapping mapping) { setCurrentMapping(mapping); setCurrentDescriptor(null); if (shouldIterateOnIndirectionObjects()) {// false by default internalIterateValueHolder(valueHolder); } if (shouldIterateOverUninstantiatedIndirectionObjects() || (shouldIterateOverIndirectionObjects() && valueHolder.isInstantiated())) { // force instantiation only if specified mapping.iterateOnRealAttributeValue(this, valueHolder.getValue()); } }