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

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

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

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

internalIterateAggregateObject(aggregateObject);
if (shouldBreak()) {
  setShouldBreak(false);
origin: com.haulmont.thirdparty/eclipselink

internalIterateAggregateObject(aggregateObject);
if (shouldBreak()) {
  setShouldBreak(false);
org.eclipse.persistence.internal.descriptorsDescriptorIteratorinternalIterateAggregateObject

Javadoc

Iterate an aggregate object (i.e. an object that is the target of an AggregateMapping). Override this method if appropriate.

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
  • 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.
  • iterate
    To define a new iterator create a subclass and define at least this method. Given an object or set o
  • internalIterateValueHolder,
  • iterate,
  • iterateForAggregateMapping,
  • iterateIndirectContainerForMapping,
  • iteratePrimitiveForMapping,
  • iterateReferenceObjectForMapping,
  • iterateReferenceObjects,
  • iterateValueHolderForMapping,
  • setCascadeCondition

Popular in Java

  • Finding current android device location
  • notifyDataSetChanged (ArrayAdapter)
  • getSystemService (Context)
  • getContentResolver (Context)
  • Menu (java.awt)
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top 12 Jupyter Notebook extensions
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