Tabnine Logo
EISOneToManyMappingHelper.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.eclipse.persistence.eis.mappings.EISOneToManyMappingHelper
constructor

Best Java code snippets using org.eclipse.persistence.eis.mappings.EISOneToManyMappingHelper.<init> (Showing top 16 results out of 315)

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

/**
* ADVANCED:
* This method is used to have an object removed from a collection once the changeSet is applied
* The referenceKey parameter should only be used for direct Maps.
*/
public void simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session) {
  (new EISOneToManyMappingHelper(this)).simpleRemoveFromCollectionChangeRecord(referenceKey, changeSetToRemove, changeSet, session);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
* ADVANCED:
* This method is used to have an object add to a collection once the changeSet is applied
* The referenceKey parameter should only be used for direct Maps.
*/
public void simpleAddToCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session) {
  (new EISOneToManyMappingHelper(this)).simpleAddToCollectionChangeRecord(referenceKey, changeSetToAdd, changeSet, session);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * ADVANCED:
 * This method is used to have an object add to a collection once the changeSet is applied
 * The referenceKey parameter should only be used for direct Maps.
 */
@Override
public void simpleAddToCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session) {
  (new EISOneToManyMappingHelper(this)).simpleAddToCollectionChangeRecord(referenceKey, changeSetToAdd, changeSet, session);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * ADVANCED:
 * This method is used to have an object removed from a collection once the changeSet is applied
 * The referenceKey parameter should only be used for direct Maps.
 */
@Override
public void simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session) {
  (new EISOneToManyMappingHelper(this)).simpleRemoveFromCollectionChangeRecord(referenceKey, changeSetToRemove, changeSet, session);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * ADVANCED:
 * This method is used to have an object add to a collection once the changeSet is applied
 * The referenceKey parameter should only be used for direct Maps.
 */
@Override
public void simpleAddToCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session) {
  (new EISOneToManyMappingHelper(this)).simpleAddToCollectionChangeRecord(referenceKey, changeSetToAdd, changeSet, session);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * ADVANCED:
 * This method is used to have an object removed from a collection once the changeSet is applied
 * The referenceKey parameter should only be used for direct Maps.
 */
@Override
public void simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session) {
  (new EISOneToManyMappingHelper(this)).simpleRemoveFromCollectionChangeRecord(referenceKey, changeSetToRemove, changeSet, session);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Compare the attributes belonging to this mapping for the objects.
 */
@Override
public boolean compareObjects(Object object1, Object object2, AbstractSession session) {
  if (isForeignKeyRelationship()) {
    return (new EISOneToManyMappingHelper(this)).compareObjects(object1, object2, session);
  }
  return super.compareObjects(object1, object2, session);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Compare the attributes belonging to this mapping for the objects.
 */
public boolean compareObjects(Object object1, Object object2, AbstractSession session) {
  if (isForeignKeyRelationship()) {
    return (new EISOneToManyMappingHelper(this)).compareObjects(object1, object2, session);
  }
  return super.compareObjects(object1, object2, session);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * If the mapping has a foreign key, it is order, so must use a different merge.
 */
@Override
public void mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession) {
  if (isForeignKeyRelationship()) {
    (new EISOneToManyMappingHelper(this)).mergeIntoObject(target, isTargetUnInitialized, source, mergeManager, targetSession);
    return;
  }
  super.mergeIntoObject(target, isTargetUnInitialized, source, mergeManager, targetSession);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Compare the attributes belonging to this mapping for the objects.
 */
@Override
public boolean compareObjects(Object object1, Object object2, AbstractSession session) {
  if (isForeignKeyRelationship()) {
    return (new EISOneToManyMappingHelper(this)).compareObjects(object1, object2, session);
  }
  return super.compareObjects(object1, object2, session);
}
 
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * If the mapping has a foreign key, it is order, so must use a different merge.
 */
@Override
public void mergeChangesIntoObject(Object target, ChangeRecord chgRecord, Object source, MergeManager mergeManager, AbstractSession targetSession) {
  if (isForeignKeyRelationship()) {
    (new EISOneToManyMappingHelper(this)).mergeChangesIntoObject(target, chgRecord, source, mergeManager, targetSession);
    return;
  }
  super.mergeChangesIntoObject(target, chgRecord, source, mergeManager, targetSession);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * If the mapping has a foreign key, it is order, so must use a different merge.
 */
@Override
public void mergeChangesIntoObject(Object target, ChangeRecord chgRecord, Object source, MergeManager mergeManager, AbstractSession targetSession) {
  if (isForeignKeyRelationship()) {
    (new EISOneToManyMappingHelper(this)).mergeChangesIntoObject(target, chgRecord, source, mergeManager, targetSession);
    return;
  }
  super.mergeChangesIntoObject(target, chgRecord, source, mergeManager, targetSession);
}
 
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * If the mapping has a foreign key, it is order, so must use a different merge.
 */
@Override
public void mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession) {
  if (isForeignKeyRelationship()) {
    (new EISOneToManyMappingHelper(this)).mergeIntoObject(target, isTargetUnInitialized, source, mergeManager, targetSession);
    return;
  }
  super.mergeIntoObject(target, isTargetUnInitialized, source, mergeManager, targetSession);
}
   
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Compare the changes between two collections. Element comparisons are
 * made using identity and, when appropriate, the value of the element's key
 * for the Map container.
 */
@Override
public ChangeRecord compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session) {
  if (isForeignKeyRelationship()) {
    if ((this.getAttributeValueFromObject(clone) != null) && (!this.isAttributeValueInstantiatedOrChanged(clone))) {
      return null;// never instantiated - no changes to report
    }
    return (new EISOneToManyMappingHelper(this)).compareForChange(clone, backup, owner, session);
  } else {
    return super.compareForChange(clone, backup, owner, session);
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Compare the changes between two collections. Element comparisons are
 * made using identity and, when appropriate, the value of the element's key
 * for the Map container.
 */
public ChangeRecord compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session) {
  if (isForeignKeyRelationship()) {
    if ((this.getAttributeValueFromObject(clone) != null) && (!this.isAttributeValueInstantiatedOrChanged(clone))) {
      return null;// never instantiated - no changes to report
    }
    return (new EISOneToManyMappingHelper(this)).compareForChange(clone, backup, owner, session);
  } else {
    return super.compareForChange(clone, backup, owner, session);
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Compare the changes between two collections. Element comparisons are
 * made using identity and, when appropriate, the value of the element's key
 * for the Map container.
 */
@Override
public ChangeRecord compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session) {
  if (isForeignKeyRelationship()) {
    if ((this.getAttributeValueFromObject(clone) != null) && (!this.isAttributeValueInstantiatedOrChanged(clone))) {
      return null;// never instantiated - no changes to report
    }
    return (new EISOneToManyMappingHelper(this)).compareForChange(clone, backup, owner, session);
  } else {
    return super.compareForChange(clone, backup, owner, session);
  }
}
org.eclipse.persistence.eis.mappingsEISOneToManyMappingHelper<init>

Javadoc

Constructor.

Popular methods of EISOneToManyMappingHelper

  • 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.
  • compareForChange
    INTERNAL: Build and return the change record that results from comparing the two collection attribut
  • compareElementsForChange,
  • compareForChange,
  • compareObjects,
  • getAttributeName,
  • getContainerPolicy,
  • getDatabaseMapping,
  • 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
  • PhpStorm for WordPress
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