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

How to use
org.eclipse.persistence.eis.EISCollectionChangeRecord
constructor

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

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

/**
 * Add stuff to an unordered collection.
 */
private void simpleAddToCollectionChangeRecordWithoutOrder(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session) {
  EISCollectionChangeRecord changeRecord = (EISCollectionChangeRecord)changeSet.getChangesForAttributeNamed(getAttributeName());
  if (changeRecord == null) {
    changeRecord = new EISCollectionChangeRecord(changeSet, getAttributeName(), getDatabaseMapping());
    changeSet.addChange(changeRecord);
  }
  changeRecord.simpleAddChangeSet(changeSetToAdd);
}
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(getAttributeName());
  if (changeRecord == null) {
    changeRecord = new EISCollectionChangeRecord(changeSet, getAttributeName(), getDatabaseMapping());
    changeSet.addChange(changeRecord);
  }
  changeRecord.simpleRemoveChangeSet(changeSetToRemove);
}
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: 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: 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(getAttributeName());
  if (changeRecord == null) {
    changeRecord = new EISCollectionChangeRecord(changeSet, getAttributeName(), 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(getAttributeName());
  if (changeRecord == null) {
    changeRecord = new EISCollectionChangeRecord(changeSet, getAttributeName(), getDatabaseMapping());
    changeSet.addChange(changeRecord);
  }
  changeRecord.simpleRemoveChangeSet(changeSetToRemove);
}
 
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 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: 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: 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/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, 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, getAttributeName(), this.getDatabaseMapping());
for (Object cloneIter = cp.iteratorFor(cloneCollection); cp.hasNext(cloneIter);) {
  Object cloneElement = cp.next(cloneIter, session);
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: 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.eisEISCollectionChangeRecord<init>

Javadoc

Construct a ChangeRecord that can be used to represent the changes to an unordered collection.

Popular methods of EISCollectionChangeRecord

  • addAddedChangeSet
    Add an added change set.
  • addChangedMapKeyChangeSet
    Add an changed key change set.
  • addRemovedChangeSet
    Add an removed change set.
  • getAdds
    ADVANCED: Return the added stuff. The contents of this collection is determined by the mapping that
  • getChangedMapKeys
    ADVANCED: Return the stuff whose Map keys have changed. The contents of this collection is determine
  • getOwner
  • getRemoves
    ADVANCED: Return the removed stuff. The contents of this collection is determined by the mapping tha
  • hasAdds
    Return whether any adds have been recorded with the change record. Directly reference the instance v
  • hasChangedMapKeys
    Return whether any changed map keys have been recorded with the change record. Directly reference th
  • hasChanges
    Return whether any changes have been recorded with the change record.
  • hasRemoves
    Return whether any removes have been recorded with the change record. Directly reference the instanc
  • removeAddedChangeSet
    Remove a previously added change set. Return true if it was actually removed from the collection.
  • hasRemoves,
  • removeAddedChangeSet,
  • removeRemovedChangeSet,
  • simpleAddChangeSet,
  • simpleRemoveChangeSet

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (Timer)
  • findViewById (Activity)
  • compareTo (BigDecimal)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JList (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Github Copilot alternatives
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