congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
DescriptorIterator.setShouldIterateOnIndirectionObjects
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.eclipse.persistence.internal.descriptors.DescriptorIterator.setShouldIterateOnIndirectionObjects (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.descriptorsDescriptorIteratorsetShouldIterateOnIndirectionObjects

Javadoc

Set whether the indirection objects themselves (e.g. the ValueHolders) should be processed.

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

  • Start an intent from android
  • getExternalFilesDir (Context)
  • onRequestPermissionsResult (Fragment)
  • addToBackStack (FragmentTransaction)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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