congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
DescriptorIterator.iteratePrimitiveForMapping
Code IndexAdd Tabnine to your IDE (free)

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

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

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

/**
 * INTERNAL:
 * Iterate on the specified element.
 */
@Override
public void iterateOnElement(DescriptorIterator iterator, Object element) {
  iterator.iteratePrimitiveForMapping(element, this);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Iterate on the specified element.
 */
public void iterateOnElement(DescriptorIterator iterator, Object element) {
  iterator.iteratePrimitiveForMapping(element, this);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Iterate on the specified element.
 */
@Override
public void iterateOnElement(DescriptorIterator iterator, Object element) {
  iterator.iteratePrimitiveForMapping(element, this);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Iterate on the attribute value.
 * The value holder has already been processed.
 */
public void iterateOnRealAttributeValue(DescriptorIterator iterator, Object realAttributeValue) {
  iterator.iteratePrimitiveForMapping(realAttributeValue, this);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Iterate on the attribute value.
 * The value holder has already been processed.
 */
@Override
public void iterateOnRealAttributeValue(DescriptorIterator iterator, Object realAttributeValue) {
  iterator.iteratePrimitiveForMapping(realAttributeValue, this);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Iterate on the attribute value.
 * The value holder has already been processed.
 */
@Override
public void iterateOnRealAttributeValue(DescriptorIterator iterator, Object realAttributeValue) {
  iterator.iteratePrimitiveForMapping(realAttributeValue, this);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Called when iterating through descriptors to handle iteration on this mapping when it is used as a MapKey
 * @param iterator
 * @param element
 */
public void iterateOnMapKey(DescriptorIterator iterator, Object element){
  if (iterator.shouldIterateOnPrimitives()) {
    iterator.iteratePrimitiveForMapping(element, this);
  }
}

origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Called when iterating through descriptors to handle iteration on this mapping when it is used as a MapKey.
 */
public void iterateOnMapKey(DescriptorIterator iterator, Object element){
  if (iterator.shouldIterateOnPrimitives()) {
    iterator.iteratePrimitiveForMapping(element, this);
  }
}

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

/**
 * INTERNAL:
 * Called when iterating through descriptors to handle iteration on this mapping when it is used as a MapKey.
 */
public void iterateOnMapKey(DescriptorIterator iterator, Object element){
  if (iterator.shouldIterateOnPrimitives()) {
    iterator.iteratePrimitiveForMapping(element, this);
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Iterate on the appropriate attribute.
 */
@Override
public void iterate(DescriptorIterator iterator) {
  // PERF: Only iterate when required.
  if (iterator.shouldIterateOnPrimitives()) {
    iterator.iteratePrimitiveForMapping(getAttributeValueFromObject(iterator.getVisitedParent()), this);
  }
}

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

/**
 * INTERNAL:
 * Iterate on the appropriate attribute.
 */
@Override
public void iterate(DescriptorIterator iterator) {
  // PERF: Only iterate when required.
  if (iterator.shouldIterateOnPrimitives()) {
    iterator.iteratePrimitiveForMapping(getAttributeValueFromObject(iterator.getVisitedParent()), this);
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Iterate on the appropriate attribute.
 */
public void iterate(DescriptorIterator iterator) {
  // PERF: Only iterate when required.
  if (iterator.shouldIterateOnPrimitives()) {
    iterator.iteratePrimitiveForMapping(getAttributeValueFromObject(iterator.getVisitedParent()), this);
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Iterate on the appropriate attribute value.
 */
public void iterate(DescriptorIterator iterator) {
  // PERF: Only iterate when required.
  if (iterator.shouldIterateOnPrimitives()) {
    Object attributeValue = this.getAttributeValueFromObject(iterator.getVisitedParent());
    if (attributeValue == null) {
      return;
    }
    ContainerPolicy cp = this.getContainerPolicy();
    for (Object iter = cp.iteratorFor(attributeValue); cp.hasNext(iter);) {
      iterator.iteratePrimitiveForMapping(cp.next(iter, iterator.getSession()), this);
    }
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Iterate on the appropriate attribute value.
 */
public void iterate(DescriptorIterator iterator) {
  // PERF: Only iterate when required.
  if (iterator.shouldIterateOnPrimitives()) {
    Object attributeValue = this.getAttributeValueFromObject(iterator.getVisitedParent());
    if (attributeValue == null) {
      return;
    }
    ContainerPolicy cp = this.getContainerPolicy();
    for (Object iter = cp.iteratorFor(attributeValue); cp.hasNext(iter);) {
      iterator.iteratePrimitiveForMapping(cp.next(iter, iterator.getSession()), this);
    }
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Iterate on the appropriate attribute value.
 */
public void iterate(DescriptorIterator iterator) {
  // PERF: Only iterate when required.
  if (iterator.shouldIterateOnPrimitives()) {
    Object attributeValue = this.getAttributeValueFromObject(iterator.getVisitedParent());
    if (attributeValue == null) {
      return;
    }
    ContainerPolicy cp = this.getContainerPolicy();
    for (Object iter = cp.iteratorFor(attributeValue); cp.hasNext(iter);) {
      iterator.iteratePrimitiveForMapping(cp.next(iter, iterator.getSession()), this);
    }
  }
}
org.eclipse.persistence.internal.descriptorsDescriptorIteratoriteratePrimitiveForMapping

Javadoc

Iterate on the primitive value for its mapping.

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

Popular in Java

  • Reactive rest calls using spring rest template
  • setContentView (Activity)
  • compareTo (BigDecimal)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top Sublime Text plugins
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