Tabnine Logo
EISOneToManyMappingHelper.getDatabaseMapping
Code IndexAdd Tabnine to your IDE (free)

How to use
getDatabaseMapping
method
in
org.eclipse.persistence.eis.mappings.EISOneToManyMappingHelper

Best Java code snippets using org.eclipse.persistence.eis.mappings.EISOneToManyMappingHelper.getDatabaseMapping (Showing top 18 results out of 315)

origin: com.haulmont.thirdparty/eclipselink

/**
 * Remove stuff from an ordered collection.
 */
private void simpleRemoveFromCollectionChangeRecordWithOrder(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session) {
  EISOrderedCollectionChangeRecord changeRecord = (EISOrderedCollectionChangeRecord)changeSet.getChangesForAttributeNamed(this.getAttributeName());
  if (changeRecord == null) {
    changeRecord = new EISOrderedCollectionChangeRecord(changeSet, this.getAttributeName(), this.getDatabaseMapping());
    changeSet.addChange(changeRecord);
  }
  changeRecord.simpleRemoveChangeSet(changeSetToRemove);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

  /**
   * Remove stuff from an unordered collection.
   */
  private void simpleRemoveFromCollectionChangeRecordWithoutOrder(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session) {
    EISCollectionChangeRecord changeRecord = (EISCollectionChangeRecord)changeSet.getChangesForAttributeNamed(this.getAttributeName());
    if (changeRecord == null) {
      changeRecord = new EISCollectionChangeRecord(changeSet, this.getAttributeName(), this.getDatabaseMapping());
      changeSet.addChange(changeRecord);
    }
    changeRecord.simpleRemoveChangeSet(changeSetToRemove);
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Remove stuff from an ordered collection.
 */
private void simpleRemoveFromCollectionChangeRecordWithOrder(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session) {
  EISOrderedCollectionChangeRecord changeRecord = (EISOrderedCollectionChangeRecord)changeSet.getChangesForAttributeNamed(this.getAttributeName());
  if (changeRecord == null) {
    changeRecord = new EISOrderedCollectionChangeRecord(changeSet, this.getAttributeName(), this.getDatabaseMapping());
    changeSet.addChange(changeRecord);
  }
  changeRecord.simpleRemoveChangeSet(changeSetToRemove);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Remove stuff from an ordered collection.
 */
private void simpleRemoveFromCollectionChangeRecordWithOrder(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session) {
  EISOrderedCollectionChangeRecord changeRecord = (EISOrderedCollectionChangeRecord)changeSet.getChangesForAttributeNamed(this.getAttributeName());
  if (changeRecord == null) {
    changeRecord = new EISOrderedCollectionChangeRecord(changeSet, this.getAttributeName(), this.getDatabaseMapping());
    changeSet.addChange(changeRecord);
  }
  changeRecord.simpleRemoveChangeSet(changeSetToRemove);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

  /**
   * Remove stuff from an unordered collection.
   */
  private void simpleRemoveFromCollectionChangeRecordWithoutOrder(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session) {
    EISCollectionChangeRecord changeRecord = (EISCollectionChangeRecord)changeSet.getChangesForAttributeNamed(this.getAttributeName());
    if (changeRecord == null) {
      changeRecord = new EISCollectionChangeRecord(changeSet, this.getAttributeName(), this.getDatabaseMapping());
      changeSet.addChange(changeRecord);
    }
    changeRecord.simpleRemoveChangeSet(changeSetToRemove);
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Add stuff to an ordered collection.
 */
private void simpleAddToCollectionChangeRecordWithOrder(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session) {
  EISOrderedCollectionChangeRecord changeRecord = (EISOrderedCollectionChangeRecord)changeSet.getChangesForAttributeNamed(this.getAttributeName());
  if (changeRecord == null) {
    changeRecord = new EISOrderedCollectionChangeRecord(changeSet, this.getAttributeName(), this.getDatabaseMapping());
    changeSet.addChange(changeRecord);
  }
  changeRecord.simpleAddChangeSet(changeSetToAdd);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Add stuff to an unordered collection.
 */
private void simpleAddToCollectionChangeRecordWithoutOrder(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session) {
  EISCollectionChangeRecord changeRecord = (EISCollectionChangeRecord)changeSet.getChangesForAttributeNamed(this.getAttributeName());
  if (changeRecord == null) {
    changeRecord = new EISCollectionChangeRecord(changeSet, this.getAttributeName(), this.getDatabaseMapping());
    changeSet.addChange(changeRecord);
  }
  changeRecord.simpleAddChangeSet(changeSetToAdd);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Add stuff to an ordered collection.
 */
private void simpleAddToCollectionChangeRecordWithOrder(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session) {
  EISOrderedCollectionChangeRecord changeRecord = (EISOrderedCollectionChangeRecord)changeSet.getChangesForAttributeNamed(this.getAttributeName());
  if (changeRecord == null) {
    changeRecord = new EISOrderedCollectionChangeRecord(changeSet, this.getAttributeName(), this.getDatabaseMapping());
    changeSet.addChange(changeRecord);
  }
  changeRecord.simpleAddChangeSet(changeSetToAdd);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Add stuff to an unordered collection.
 */
private void simpleAddToCollectionChangeRecordWithoutOrder(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session) {
  EISCollectionChangeRecord changeRecord = (EISCollectionChangeRecord)changeSet.getChangesForAttributeNamed(this.getAttributeName());
  if (changeRecord == null) {
    changeRecord = new EISCollectionChangeRecord(changeSet, this.getAttributeName(), this.getDatabaseMapping());
    changeSet.addChange(changeRecord);
  }
  changeRecord.simpleAddChangeSet(changeSetToAdd);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Add stuff to an unordered collection.
 */
private void simpleAddToCollectionChangeRecordWithoutOrder(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session) {
  EISCollectionChangeRecord changeRecord = (EISCollectionChangeRecord)changeSet.getChangesForAttributeNamed(this.getAttributeName());
  if (changeRecord == null) {
    changeRecord = new EISCollectionChangeRecord(changeSet, this.getAttributeName(), this.getDatabaseMapping());
    changeSet.addChange(changeRecord);
  }
  changeRecord.simpleAddChangeSet(changeSetToAdd);
}
origin: com.haulmont.thirdparty/eclipselink

  /**
   * Remove stuff from an unordered collection.
   */
  private void simpleRemoveFromCollectionChangeRecordWithoutOrder(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session) {
    EISCollectionChangeRecord changeRecord = (EISCollectionChangeRecord)changeSet.getChangesForAttributeNamed(this.getAttributeName());
    if (changeRecord == null) {
      changeRecord = new EISCollectionChangeRecord(changeSet, this.getAttributeName(), this.getDatabaseMapping());
      changeSet.addChange(changeRecord);
    }
    changeRecord.simpleRemoveChangeSet(changeSetToRemove);
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Add stuff to an ordered collection.
 */
private void simpleAddToCollectionChangeRecordWithOrder(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session) {
  EISOrderedCollectionChangeRecord changeRecord = (EISOrderedCollectionChangeRecord)changeSet.getChangesForAttributeNamed(this.getAttributeName());
  if (changeRecord == null) {
    changeRecord = new EISOrderedCollectionChangeRecord(changeSet, this.getAttributeName(), this.getDatabaseMapping());
    changeSet.addChange(changeRecord);
  }
  changeRecord.simpleAddChangeSet(changeSetToAdd);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

EISOrderedCollectionChangeRecord changeRecord = new EISOrderedCollectionChangeRecord(owner, this.getAttributeName(), this.getDatabaseMapping());
origin: org.eclipse.persistence/org.eclipse.persistence.core

EISOrderedCollectionChangeRecord changeRecord = new EISOrderedCollectionChangeRecord(owner, this.getAttributeName(), this.getDatabaseMapping());
origin: com.haulmont.thirdparty/eclipselink

EISOrderedCollectionChangeRecord changeRecord = new EISOrderedCollectionChangeRecord(owner, this.getAttributeName(), this.getDatabaseMapping());
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

EISCollectionChangeRecord changeRecord = new EISCollectionChangeRecord(owner, this.getAttributeName(), this.getDatabaseMapping());
for (Object cloneIter = cp.iteratorFor(cloneCollection); cp.hasNext(cloneIter);) {
  Object cloneElement = cp.next(cloneIter, session);
origin: com.haulmont.thirdparty/eclipselink

EISCollectionChangeRecord changeRecord = new EISCollectionChangeRecord(owner, this.getAttributeName(), this.getDatabaseMapping());
for (Object cloneIter = cp.iteratorFor(cloneCollection); cp.hasNext(cloneIter);) {
  Object cloneElement = cp.next(cloneIter, session);
origin: org.eclipse.persistence/org.eclipse.persistence.core

EISCollectionChangeRecord changeRecord = new EISCollectionChangeRecord(owner, this.getAttributeName(), this.getDatabaseMapping());
for (Object cloneIter = cp.iteratorFor(cloneCollection); cp.hasNext(cloneIter);) {
  Object cloneElement = cp.next(cloneIter, session);
org.eclipse.persistence.eis.mappingsEISOneToManyMappingHelpergetDatabaseMapping

Javadoc

INTERNAL: Return the mapping, casted a bit more generally.

Popular methods of EISOneToManyMappingHelper

  • <init>
    Constructor.
  • buildAddedElementFromChangeSet
    Convenience method.
  • buildChangeSet
    Convenience method.
  • buildElementFromElement
    Convenience method.
  • buildRemovedElementFromChangeSet
    Convenience method.
  • compareAttributeValues
    Compare the attributes. Return true if they are alike. Assume the passed-in attributes are non-null.
  • compareAttributeValuesForChangeWithOrder
    Build and return the change record that results from comparing the two collection attributes. The or
  • compareAttributeValuesForChangeWithoutOrder
    Build and return the change record that results from comparing the two collection attributes. Ignore
  • compareAttributeValuesWithOrder
    Compare the attributes. Return true if they are alike. The order of the elements is significant.
  • compareAttributeValuesWithoutOrder
    Compare the attributes. Return true if they are alike. Ignore the order of the elements.
  • compareElements
    Convenience method. Check for null values before delegating to the mapping.
  • compareElementsForChange
    Convenience method. Check for null values before delegating to the mapping.
  • compareElements,
  • compareElementsForChange,
  • compareForChange,
  • compareObjects,
  • getAttributeName,
  • getContainerPolicy,
  • getMapping,
  • getRealCollectionAttributeValueFromObject,
  • mapKeyHasChanged

Popular in Java

  • Making http post requests using okhttp
  • putExtra (Intent)
  • getSharedPreferences (Context)
  • setScale (BigDecimal)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • JButton (javax.swing)
  • JTextField (javax.swing)
  • Top plugins for Android Studio
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