Tabnine Logo
DescriptorIterator.setShouldIterateOverIndirectionObjects
Code IndexAdd Tabnine to your IDE (free)

How to use
setShouldIterateOverIndirectionObjects
method
in
org.eclipse.persistence.internal.descriptors.DescriptorIterator

Best Java code snippets using org.eclipse.persistence.internal.descriptors.DescriptorIterator.setShouldIterateOverIndirectionObjects (Showing top 3 results out of 315)

origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Traverse the specified object, replacing the standard
 * value holders with remote value holders.
 * Add the resulting object descriptors to the
 * "collecting parm".
 */
public void replaceValueHoldersIn(Object object, Map objectDescriptors) {
  if (object == null) {
    return;
  }
  DescriptorIterator iterator = new ReplaceValueHoldersIterator(this);
  iterator.setResult(objectDescriptors);
  iterator.setSession(getExecutionSession());
  iterator.setShouldIterateOnIndirectionObjects(true);// process the value holders themselves
  iterator.setShouldIterateOverIndirectionObjects(false);// but don't go beyond them
  iterator.startIterationOn(object);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Traverse the specified object, replacing the standard
 * value holders with remote value holders.
 * Add the resulting object descriptors to the
 * "collecting parm".
 */
public void replaceValueHoldersIn(Object object, Map objectDescriptors) {
  if (object == null) {
    return;
  }
  DescriptorIterator iterator = new ReplaceValueHoldersIterator(this);
  iterator.setResult(objectDescriptors);
  iterator.setSession(getExecutionSession());
  iterator.setShouldIterateOnIndirectionObjects(true);// process the value holders themselves
  iterator.setShouldIterateOverIndirectionObjects(false);// but don't go beyond them
  iterator.startIterationOn(object);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Traverse the specified object, replacing the standard
 * value holders with remote value holders.
 * Add the resulting object descriptors to the
 * "collecting parm".
 */
public void replaceValueHoldersIn(Object object, Map objectDescriptors) {
  if (object == null) {
    return;
  }
  DescriptorIterator iterator = new ReplaceValueHoldersIterator(this);
  iterator.setResult(objectDescriptors);
  iterator.setSession(getSession());
  iterator.setShouldIterateOnIndirectionObjects(true);// process the value holders themselves
  iterator.setShouldIterateOverIndirectionObjects(false);// but don't go beyond them
  iterator.startIterationOn(object);
}
org.eclipse.persistence.internal.descriptorsDescriptorIteratorsetShouldIterateOverIndirectionObjects

Javadoc

Set whether to process the objects contained by indirection objects (e.g. a ValueHolder's value) - but *without* instantiating them.

Popular methods of DescriptorIterator

  • getCascadeDepth
  • getCurrentDescriptor
  • getDescriptorFor
    Fetch and return the descriptor for the specified object.
  • getSession
  • getVisitedObjects
  • getVisitedParent
    Return the last object visited.
  • getVisitedStack
  • internalIterateAggregateObject
    Iterate an aggregate object (i.e. an object that is the target of an AggregateMapping). Override thi
  • internalIterateIndirectContainer
    Iterate an indirect container (IndirectList or IndirectMap). Override this method if appropriate.
  • internalIteratePrimitive
    Iterate a primitive object (String, Date, Integer, etc.). Override this method if appropriate.
  • internalIterateReferenceObject
    Iterate a (a non-Aggregate) reference object. Override this method if appropriate.
  • internalIterateValueHolder
    Iterate a value holder. Override this method if appropriate.
  • internalIterateReferenceObject,
  • internalIterateValueHolder,
  • iterate,
  • iterateForAggregateMapping,
  • iterateIndirectContainerForMapping,
  • iteratePrimitiveForMapping,
  • iterateReferenceObjectForMapping,
  • iterateReferenceObjects,
  • iterateValueHolderForMapping,
  • setCascadeCondition

Popular in Java

  • Reactive rest calls using spring rest template
  • getContentResolver (Context)
  • getSupportFragmentManager (FragmentActivity)
  • setRequestProperty (URLConnection)
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JTable (javax.swing)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now