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

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

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

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

iterateReferenceObjects(sourceObject);
origin: com.haulmont.thirdparty/eclipselink

iterateReferenceObjects(sourceObject);
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * This is the root method called to start the iteration.
 */
public void startIterationOn(Object sourceObject) {
  if (getVisitedObjects().containsKey(sourceObject)) {
    return;
  }
  getVisitedObjects().put(sourceObject, sourceObject);
  setCurrentMapping(null);
  setCurrentDescriptor(getSession().getDescriptor(sourceObject));
  iterate(sourceObject);
  // start the recursion
  if ((getCurrentDescriptor() != null) && (!shouldCascadeNoParts())  && !this.shouldBreak()) {
    iterateReferenceObjects(sourceObject);
  }
}
 
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Iterate on the mapping's reference object and
 * recursively iterate on the reference object's
 * reference objects.
 * This is used for aggregate and aggregate collection mappings, which are not iterated on by default.
 */
public void iterateForAggregateMapping(Object aggregateObject, DatabaseMapping mapping, ClassDescriptor descriptor) {
  if (aggregateObject == null) {
    return;
  }
  setCurrentMapping(mapping);
  // aggregate descriptors are passed in because they could be part of an inheritance tree
  setCurrentDescriptor(descriptor);
  if (shouldIterateOnAggregates()) {// false by default
    internalIterateAggregateObject(aggregateObject);
    if (shouldBreak()) {
      setShouldBreak(false);
      return;
    }
  }
  iterateReferenceObjects(aggregateObject);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

iterateReferenceObjects(referenceObject);
if(this.usesGroup) {
  this.currentGroup = currentGroupOriginal;
origin: com.haulmont.thirdparty/eclipselink

iterateReferenceObjects(referenceObject);
if(this.usesGroup) {
  this.currentGroup = currentGroupOriginal;
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

iterateReferenceObjects(referenceObject);
origin: org.eclipse.persistence/org.eclipse.persistence.core

iterateReferenceObjects(aggregateObject);
if(this.usesGroup) {
  this.currentGroup = currentGroupOriginal;
origin: com.haulmont.thirdparty/eclipselink

iterateReferenceObjects(aggregateObject);
if(this.usesGroup) {
  this.currentGroup = currentGroupOriginal;
org.eclipse.persistence.internal.descriptorsDescriptorIteratoriterateReferenceObjects

Javadoc

Iterate over the sourceObject's reference objects, updating the visited stack appropriately.

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,
  • iterateValueHolderForMapping,
  • setCascadeCondition

Popular in Java

  • Running tasks concurrently on multiple threads
  • getExternalFilesDir (Context)
  • getApplicationContext (Context)
  • onRequestPermissionsResult (Fragment)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Notification (javax.management)
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top 15 Vim Plugins
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