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

How to use
compareElementsForChange
method
in
org.eclipse.persistence.eis.mappings.EISOneToManyMapping

Best Java code snippets using org.eclipse.persistence.eis.mappings.EISOneToManyMapping.compareElementsForChange (Showing top 3 results out of 315)

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

/**
 * Convenience method.
 * Check for null values before delegating to the mapping.
 */
private boolean compareElementsForChange(Object element1, Object element2, AbstractSession session) {
  if ((element1 == null) && (element2 == null)) {
    return true;
  }
  if ((element1 == null) || (element2 == null)) {
    return false;
  }
  if (element2 == XXX) {// if element2 was marked as cleared out, it is not a match
    return false;
  }
  return this.getMapping().compareElementsForChange(element1, element2, session);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Convenience method.
 * Check for null values before delegating to the mapping.
 */
private boolean compareElementsForChange(Object element1, Object element2, AbstractSession session) {
  if ((element1 == null) && (element2 == null)) {
    return true;
  }
  if ((element1 == null) || (element2 == null)) {
    return false;
  }
  if (element2 == XXX) {// if element2 was marked as cleared out, it is not a match
    return false;
  }
  return this.getMapping().compareElementsForChange(element1, element2, session);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Convenience method.
 * Check for null values before delegating to the mapping.
 */
private boolean compareElementsForChange(Object element1, Object element2, AbstractSession session) {
  if ((element1 == null) && (element2 == null)) {
    return true;
  }
  if ((element1 == null) || (element2 == null)) {
    return false;
  }
  if (element2 == XXX) {// if element2 was marked as cleared out, it is not a match
    return false;
  }
  return this.getMapping().compareElementsForChange(element1, element2, session);
}
org.eclipse.persistence.eis.mappingsEISOneToManyMappingcompareElementsForChange

Javadoc

INTERNAL: Compare the non-null elements and return true if they are alike. Here we use object identity.

Popular methods of EISOneToManyMapping

  • addForeignKeyField
    PUBLIC: Define the source foreign key relationship in the one-to-many mapping. This method is used f
  • buildAddedElementFromChangeSet
    INTERNAL: Build and return a new element based on the change set.
  • buildChangeSet
    INTERNAL: Build and return a change set for the specified element.
  • buildElementFromChangeSet
    Build and return a new element based on the change set.
  • buildElementFromElement
    INTERNAL: Build and return a new element based on the specified element.
  • buildRemovedElementFromChangeSet
    INTERNAL: Build and return a new element based on the change set.
  • compareElements
    INTERNAL: Compare the non-null elements and return true if they are alike.
  • compareObjectsAndWrite
  • compareObjectsWithoutPrivateOwned
  • deleteAll
    Delete all the reference objects.
  • deleteReferenceObjectsLeftOnDatabase
    This method will make sure that all the records privately owned by this mapping are actually removed
  • extractKeyRowFromReferenceObject
    Build and return a database row that contains a foreign key for the specified reference object. This
  • deleteReferenceObjectsLeftOnDatabase,
  • extractKeyRowFromReferenceObject,
  • getAttributeName,
  • getAttributeValueFromObject,
  • getContainerPolicy,
  • getDeleteAllQuery,
  • getDescriptor,
  • getForeignKeyGroupingElement,
  • getForeignKeyRows

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (Timer)
  • putExtra (Intent)
  • getApplicationContext (Context)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Top PhpStorm 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