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

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew ArrayList()
  • Codota Iconnew LinkedList()
  • Smart code suggestions by Tabnine
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Iterate on the indirection object for its mapping.
 */
public void iterateIndirectContainerForMapping(IndirectContainer container, DatabaseMapping mapping) {
  setCurrentMapping(mapping);
  setCurrentDescriptor(null);
  if (shouldIterateOnIndirectionObjects()) {// false by default
    internalIterateIndirectContainer(container);
  }
  if (shouldIterateOverUninstantiatedIndirectionObjects() || (shouldIterateOverIndirectionObjects() && container.isInstantiated())) {
    // force instantiation only if specified
    mapping.iterateOnRealAttributeValue(this, container);
  } else if (shouldIterateOverIndirectionObjects()) {
    // PERF: Allow the indirect container to iterate any cached elements.
    if (container instanceof IndirectCollection)  {
      mapping.iterateOnRealAttributeValue(this, ((IndirectCollection)container).getAddedElements());
    }
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Iterate on the indirection object for its mapping.
 */
public void iterateIndirectContainerForMapping(IndirectContainer container, DatabaseMapping mapping) {
  setCurrentMapping(mapping);
  setCurrentDescriptor(null);
  if (shouldIterateOnIndirectionObjects()) {// false by default
    internalIterateIndirectContainer(container);
  }
  if (shouldIterateOverUninstantiatedIndirectionObjects() || (shouldIterateOverIndirectionObjects() && container.isInstantiated())) {
    // force instantiation only if specified
    mapping.iterateOnRealAttributeValue(this, container);
  } else if (shouldIterateOverIndirectionObjects()) {
    // PERF: Allow the indirect container to iterate any cached elements.
    if (container instanceof IndirectCollection)  {
      mapping.iterateOnRealAttributeValue(this, ((IndirectCollection)container).getAddedElements());
    }
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Iterate on the indirection object for its mapping.
 */
public void iterateIndirectContainerForMapping(IndirectContainer container, DatabaseMapping mapping) {
  setCurrentMapping(mapping);
  setCurrentDescriptor(null);
  if (shouldIterateOnIndirectionObjects()) {// false by default
    internalIterateIndirectContainer(container);
  }
  if (shouldIterateOverUninstantiatedIndirectionObjects() || (shouldIterateOverIndirectionObjects() && container.isInstantiated())) {
    // force instantiation only if specified
    mapping.iterateOnRealAttributeValue(this, container);
  } else if (shouldIterateOverIndirectionObjects()) {
    // PERF: Allow the indirect container to iterate any cached elements.
    if (container instanceof IndirectCollection)  {
      mapping.iterateOnRealAttributeValue(this, ((IndirectCollection)container).getAddedElements());
    }
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * 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());
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * 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());
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * 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());
  }
}
org.eclipse.persistence.internal.descriptorsDescriptorIteratorshouldIterateOverIndirectionObjects

Javadoc

Return 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

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setRequestProperty (URLConnection)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • PhpStorm for WordPress
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