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

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (Timer)
  • getSharedPreferences (Context)
  • 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
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Reference (javax.naming)
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Top 17 PhpStorm Plugins
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