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

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

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

origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Iterate on the primitive value for its mapping.
 */
public void iteratePrimitiveForMapping(Object primitiveValue, DatabaseMapping mapping) {
  if (primitiveValue == null) {
    return;
  }
  setCurrentMapping(mapping);
  setCurrentDescriptor(null);
  if (shouldIterateOnPrimitives()) {// false by default
    internalIteratePrimitive(primitiveValue);
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Iterate on the primitive value for its mapping.
 */
public void iteratePrimitiveForMapping(Object primitiveValue, DatabaseMapping mapping) {
  if (primitiveValue == null) {
    return;
  }
  setCurrentMapping(mapping);
  setCurrentDescriptor(null);
  if (shouldIterateOnPrimitives()) {// false by default
    AttributeGroup currentGroupOriginal = null;
    AttributeItem currentItemOriginal = null;
    if(this.usesGroup) {
      currentGroupOriginal = this.currentGroup;
      currentItemOriginal = this.currentItem;
      this.currentGroup = this.currentItem.getGroup();
    }
    internalIteratePrimitive(primitiveValue);
    if(this.usesGroup) {
      this.currentGroup = currentGroupOriginal;
      this.currentItem = currentItemOriginal;
    }
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Iterate on the primitive value for its mapping.
 */
public void iteratePrimitiveForMapping(Object primitiveValue, DatabaseMapping mapping) {
  if (primitiveValue == null) {
    return;
  }
  setCurrentMapping(mapping);
  setCurrentDescriptor(null);
  if (shouldIterateOnPrimitives()) {// false by default
    AttributeGroup currentGroupOriginal = null;
    AttributeItem currentItemOriginal = null;
    if(this.usesGroup) {
      currentGroupOriginal = this.currentGroup;
      currentItemOriginal = this.currentItem;
      this.currentGroup = this.currentItem.getGroup();
    }
    internalIteratePrimitive(primitiveValue);
    
    if(this.usesGroup) {
      this.currentGroup = currentGroupOriginal;
      this.currentItem = currentItemOriginal;
    }
  }
}
org.eclipse.persistence.internal.descriptorsDescriptorIteratorinternalIteratePrimitive

Javadoc

Iterate a primitive object (String, Date, Integer, etc.). 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
  • internalIterateIndirectContainer
    Iterate an indirect container (IndirectList or IndirectMap). 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

  • Creating JSON documents from java classes using gson
  • getContentResolver (Context)
  • scheduleAtFixedRate (Timer)
  • setScale (BigDecimal)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Top plugins for WebStorm
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