Codota Logo
DescriptorIterator.internalIterateIndirectContainer
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain DescriptorIterator
private void myMethod () {
DescriptorIterator d =
  • Codota IconRemoteSessionController remoteSessionController;new ReplaceValueHoldersIterator(remoteSessionController)
  • Codota IconDatabaseMapping databaseMapping;databaseMapping.isCandidateForPrivateOwnedRemoval()
  • Codota IconUnitOfWorkImpl unitOfWorkImpl;Object key;unitOfWorkImpl.getNewObjectsOriginalToClone().remove(key)
  • Smart code suggestions by Codota
}
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());
    }
  }
}
org.eclipse.persistence.internal.descriptorsDescriptorIteratorinternalIterateIndirectContainer

Javadoc

Iterate an indirect container (IndirectList or IndirectMap). 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
  • internalIterateAggregateObject
    Iterate an aggregate object (i.e. an object that is the target of an AggregateMapping). Override thi
  • 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

  • Reactive rest calls using spring rest template
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • getSystemService (Context)
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now