Tabnine Logo
EISOneToManyMapping.setIsForeignKeyRelationship
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Sets the source foreign key fields.
 */
public void setSourceForeignKeyFields(List<DatabaseField> fields) {
  sourceForeignKeyFields = fields;
  if ((fields != null) && (fields.size() > 0)) {
    this.setIsForeignKeyRelationship(true);
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Sets the source foreign key fields.
 */
public void setSourceForeignKeyFields(List<DatabaseField> fields) {
  sourceForeignKeyFields = fields;
  if ((fields != null) && (fields.size() > 0)) {
    this.setIsForeignKeyRelationship(true);
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Sets the source foreign key fields.
 */
public void setSourceForeignKeyFields(List fields) {
  sourceForeignKeyFields = fields;
  if ((fields != null) && (fields.size() > 0)) {
    this.setIsForeignKeyRelationship(true);
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Set the source keys to target keys fields association.
 */
public void setSourceForeignKeysToTargetKeys(Map<DatabaseField, DatabaseField> sourceToTargetKeyFields) {
  this.sourceForeignKeysToTargetKeys = sourceToTargetKeyFields;
  if ((sourceToTargetKeyFields != null) && (sourceToTargetKeyFields.keySet() != null) && (sourceToTargetKeyFields.keySet().size() > 0)) {
    this.setIsForeignKeyRelationship(true);
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Set the source keys to target keys fields association.
 */
public void setSourceForeignKeysToTargetKeys(Map<DatabaseField, DatabaseField> sourceToTargetKeyFields) {
  this.sourceForeignKeysToTargetKeys = sourceToTargetKeyFields;
  if ((sourceToTargetKeyFields != null) && (sourceToTargetKeyFields.keySet() != null) && (sourceToTargetKeyFields.keySet().size() > 0)) {
    this.setIsForeignKeyRelationship(true);
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Set the source keys to target keys fields association.
 */
public void setSourceForeignKeysToTargetKeys(Map sourceToTargetKeyFields) {
  this.sourceForeignKeysToTargetKeys = sourceToTargetKeyFields;
  if ((sourceToTargetKeyFields != null) && (sourceToTargetKeyFields.keySet() != null) && (sourceToTargetKeyFields.keySet().size() > 0)) {
    this.setIsForeignKeyRelationship(true);
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * PUBLIC:
 * Define the source foreign key relationship in the one-to-many mapping.
 * This method is used for composite source foreign key relationships.
 * That is, the source object's table has multiple foreign key fields
 * that are references to
 * the target object's (typically primary) key fields.
 * Both the source foreign key field name and the corresponding
 * target primary key field name must be specified.
 */
@Override
public void addForeignKeyField(DatabaseField sourceForeignKeyField, DatabaseField targetKeyField) {
  this.getSourceForeignKeyFields().add(sourceForeignKeyField);
  this.getTargetForeignKeyFields().add(targetKeyField);
  this.setIsForeignKeyRelationship(true);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
   * PUBLIC:
   * Define the source foreign key relationship in the one-to-many mapping.
   * This method is used for composite source foreign key relationships.
   * That is, the source object's table has multiple foreign key fields
   * that are references to
   * the target object's (typically primary) key fields.
   * Both the source foreign key field name and the corresponding
   * target primary key field name must be specified.
   */
public void addForeignKeyField(DatabaseField sourceForeignKeyField, DatabaseField targetKeyField) {
  this.getSourceForeignKeyFields().add(sourceForeignKeyField);
  this.getTargetForeignKeyFields().add(targetKeyField);
  this.setIsForeignKeyRelationship(true);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * PUBLIC:
 * Define the source foreign key relationship in the one-to-many mapping.
 * This method is used for composite source foreign key relationships.
 * That is, the source object's table has multiple foreign key fields
 * that are references to
 * the target object's (typically primary) key fields.
 * Both the source foreign key field name and the corresponding
 * target primary key field name must be specified.
 */
@Override
public void addForeignKeyField(DatabaseField sourceForeignKeyField, DatabaseField targetKeyField) {
  this.getSourceForeignKeyFields().add(sourceForeignKeyField);
  this.getTargetForeignKeyFields().add(targetKeyField);
  this.setIsForeignKeyRelationship(true);
}
org.eclipse.persistence.eis.mappingsEISOneToManyMappingsetIsForeignKeyRelationship

Javadoc

INTERNAL: Set if the 1-M mapping has a foreign key dependency to its target. This is true if any of the foreign key fields are true foreign keys, i.e. populated on write from the targets primary key.

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.
  • compareElementsForChange
    INTERNAL: Compare the non-null elements and return true if they are alike. Here we use object identi
  • 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
  • deleteAll,
  • deleteReferenceObjectsLeftOnDatabase,
  • extractKeyRowFromReferenceObject,
  • getAttributeName,
  • getAttributeValueFromObject,
  • getContainerPolicy,
  • getDeleteAllQuery,
  • getDescriptor,
  • getForeignKeyGroupingElement,
  • getForeignKeyRows

Popular in Java

  • Making http requests using okhttp
  • startActivity (Activity)
  • getSystemService (Context)
  • onCreateOptionsMenu (Activity)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Notification (javax.management)
  • JComboBox (javax.swing)
  • From CI to AI: The AI layer in your organization
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