/** * INTERNAL: * The mapping clones itself to create deep copy */ public Object clone() { NestedTableMapping clone = (NestedTableMapping)super.clone(); return clone; }
/** * INTERNAL: * The mapping clones itself to create deep copy */ public Object clone() { NestedTableMapping clone = (NestedTableMapping)super.clone(); return clone; }
/** * INTERNAL: * The mapping clones itself to create deep copy */ public Object clone() { NestedTableMapping clone = (NestedTableMapping)super.clone(); return clone; }
/** * INTERNAL: * The mapping clones itself to create deep copy. */ @Override public Object clone() { ManyToManyMapping clone = (ManyToManyMapping)super.clone(); clone.mechanism = (RelationTableMechanism)this.mechanism.clone(); return clone; }
/** * INTERNAL: * The mapping clones itself to create deep copy. */ @Override public Object clone() { ManyToManyMapping clone = (ManyToManyMapping)super.clone(); clone.mechanism = (RelationTableMechanism)this.mechanism.clone(); return clone; }
/** * INTERNAL: * The mapping clones itself to create deep copy. */ public Object clone() { ManyToManyMapping clone = (ManyToManyMapping)super.clone(); clone.mechanism = (RelationTableMechanism)this.mechanism.clone(); return clone; }
/** * INTERNAL: * Clone the appropriate attributes. */ @Override public Object clone() { EISOneToManyMapping clone = (EISOneToManyMapping)super.clone(); clone.setSourceForeignKeysToTargetKeys((Map)((HashMap)getSourceForeignKeysToTargetKeys()).clone()); return clone; }
/** * INTERNAL: * Clone the appropriate attributes. */ @Override public Object clone() { EISOneToManyMapping clone = (EISOneToManyMapping)super.clone(); clone.setSourceForeignKeysToTargetKeys((Map)((HashMap)getSourceForeignKeysToTargetKeys()).clone()); return clone; }
/** * INTERNAL: * Clone the appropriate attributes. */ public Object clone() { EISOneToManyMapping clone = (EISOneToManyMapping)super.clone(); clone.setSourceForeignKeysToTargetKeys((Map)((HashMap)getSourceForeignKeysToTargetKeys()).clone()); return clone; }
/** * INTERNAL: * Clone the appropriate attributes. */ public Object clone() { OneToManyMapping clone = (OneToManyMapping)super.clone(); clone.setTargetForeignKeysToSourceKeys(new HashMap(getTargetForeignKeysToSourceKeys())); clone.addTargetQuery = (DataModifyQuery) this.addTargetQuery.clone(); clone.removeTargetQuery = (DataModifyQuery) this.removeTargetQuery.clone(); clone.removeAllTargetsQuery = (DataModifyQuery) this.removeAllTargetsQuery.clone(); return clone; }
/** * INTERNAL: * Clone the appropriate attributes. */ @Override public Object clone() { OneToManyMapping clone = (OneToManyMapping)super.clone(); clone.setTargetForeignKeysToSourceKeys(new HashMap(getTargetForeignKeysToSourceKeys())); if (addTargetQuery != null){ clone.addTargetQuery = (DataModifyQuery) this.addTargetQuery.clone(); } clone.removeTargetQuery = (DataModifyQuery) this.removeTargetQuery.clone(); clone.removeAllTargetsQuery = (DataModifyQuery) this.removeAllTargetsQuery.clone(); return clone; }
/** * INTERNAL: * Clone the appropriate attributes. */ @Override public Object clone() { OneToManyMapping clone = (OneToManyMapping)super.clone(); clone.setTargetForeignKeysToSourceKeys(new HashMap(getTargetForeignKeysToSourceKeys())); if (addTargetQuery != null){ clone.addTargetQuery = (DataModifyQuery) this.addTargetQuery.clone(); } clone.removeTargetQuery = (DataModifyQuery) this.removeTargetQuery.clone(); clone.removeAllTargetsQuery = (DataModifyQuery) this.removeAllTargetsQuery.clone(); return clone; }
/** * INTERNAL: * The mapping clones itself to create deep copy. */ @Override public Object clone() { AggregateCollectionMapping mappingObject = (AggregateCollectionMapping)super.clone(); mappingObject.setTargetForeignKeyToSourceKeys(new HashMap(getTargetForeignKeyToSourceKeys())); mappingObject.setSourceKeyFields(org.eclipse.persistence.internal.helper.NonSynchronizedVector.newInstance(getSourceKeyFields())); mappingObject.setTargetForeignKeyFields(org.eclipse.persistence.internal.helper.NonSynchronizedVector.newInstance(getTargetForeignKeyFields())); mappingObject.aggregateToSourceFields = new HashMap(this.aggregateToSourceFields); mappingObject.nestedAggregateToSourceFields = new HashMap(this.nestedAggregateToSourceFields); if(updateListOrderFieldQuery != null) { mappingObject.updateListOrderFieldQuery = this.updateListOrderFieldQuery; } if(bulkUpdateListOrderFieldQuery != null) { mappingObject.bulkUpdateListOrderFieldQuery = this.bulkUpdateListOrderFieldQuery; } if(pkUpdateListOrderFieldQuery != null) { mappingObject.pkUpdateListOrderFieldQuery = this.pkUpdateListOrderFieldQuery; } return mappingObject; }
/** * INTERNAL: * The mapping clones itself to create deep copy. */ public Object clone() { AggregateCollectionMapping mappingObject = (AggregateCollectionMapping)super.clone(); mappingObject.setTargetForeignKeyToSourceKeys(new HashMap(getTargetForeignKeyToSourceKeys())); mappingObject.setSourceKeyFields(org.eclipse.persistence.internal.helper.NonSynchronizedVector.newInstance(getSourceKeyFields())); mappingObject.setTargetForeignKeyFields(org.eclipse.persistence.internal.helper.NonSynchronizedVector.newInstance(getTargetForeignKeyFields())); mappingObject.aggregateToSourceFieldNames = new HashMap(this.aggregateToSourceFieldNames); mappingObject.nestedAggregateToSourceFieldNames = new HashMap(this.nestedAggregateToSourceFieldNames); if(updateListOrderFieldQuery != null) { mappingObject.updateListOrderFieldQuery = this.updateListOrderFieldQuery; } if(bulkUpdateListOrderFieldQuery != null) { mappingObject.bulkUpdateListOrderFieldQuery = this.bulkUpdateListOrderFieldQuery; } if(pkUpdateListOrderFieldQuery != null) { mappingObject.pkUpdateListOrderFieldQuery = this.pkUpdateListOrderFieldQuery; } return mappingObject; }
/** * INTERNAL: * The mapping clones itself to create deep copy. */ @Override public Object clone() { AggregateCollectionMapping mappingObject = (AggregateCollectionMapping)super.clone(); mappingObject.setTargetForeignKeyToSourceKeys(new HashMap(getTargetForeignKeyToSourceKeys())); mappingObject.setSourceKeyFields(org.eclipse.persistence.internal.helper.NonSynchronizedVector.newInstance(getSourceKeyFields())); mappingObject.setTargetForeignKeyFields(org.eclipse.persistence.internal.helper.NonSynchronizedVector.newInstance(getTargetForeignKeyFields())); mappingObject.aggregateToSourceFields = new HashMap(this.aggregateToSourceFields); mappingObject.nestedAggregateToSourceFields = new HashMap(this.nestedAggregateToSourceFields); if(updateListOrderFieldQuery != null) { mappingObject.updateListOrderFieldQuery = this.updateListOrderFieldQuery; } if(bulkUpdateListOrderFieldQuery != null) { mappingObject.bulkUpdateListOrderFieldQuery = this.bulkUpdateListOrderFieldQuery; } if(pkUpdateListOrderFieldQuery != null) { mappingObject.pkUpdateListOrderFieldQuery = this.pkUpdateListOrderFieldQuery; } return mappingObject; }
/** * INTERNAL: * The mapping clones itself to create deep copy. */ public Object clone() { DirectCollectionMapping clone = (DirectCollectionMapping)super.clone(); clone.setSourceKeyFields(cloneFields(getSourceKeyFields())); clone.setReferenceKeyFields(cloneFields(getReferenceKeyFields())); if(this.changeSetDeleteQuery != null) { clone.changeSetDeleteQuery = (ModifyQuery)this.changeSetDeleteQuery.clone(); } if(this.deleteAtIndexQuery != null) { clone.deleteAtIndexQuery = (ModifyQuery)this.deleteAtIndexQuery.clone(); } if(this.updateAtIndexQuery != null) { clone.updateAtIndexQuery = (ModifyQuery)this.updateAtIndexQuery.clone(); } return clone; }
/** * INTERNAL: * The mapping clones itself to create deep copy. */ @Override public Object clone() { DirectCollectionMapping clone = (DirectCollectionMapping)super.clone(); clone.setSourceKeyFields(cloneFields(getSourceKeyFields())); clone.setReferenceKeyFields(cloneFields(getReferenceKeyFields())); if(this.changeSetDeleteQuery != null) { clone.changeSetDeleteQuery = (ModifyQuery)this.changeSetDeleteQuery.clone(); } // Bug 306075 if(this.changeSetDeleteNullQuery != null) { clone.changeSetDeleteNullQuery = (ModifyQuery)this.changeSetDeleteNullQuery.clone(); } if(this.deleteAtIndexQuery != null) { clone.deleteAtIndexQuery = (ModifyQuery)this.deleteAtIndexQuery.clone(); } if(this.updateAtIndexQuery != null) { clone.updateAtIndexQuery = (ModifyQuery)this.updateAtIndexQuery.clone(); } return clone; }
/** * INTERNAL: * The mapping clones itself to create deep copy. */ @Override public Object clone() { DirectCollectionMapping clone = (DirectCollectionMapping)super.clone(); clone.setSourceKeyFields(cloneFields(getSourceKeyFields())); clone.setReferenceKeyFields(cloneFields(getReferenceKeyFields())); if(this.changeSetDeleteQuery != null) { clone.changeSetDeleteQuery = (ModifyQuery)this.changeSetDeleteQuery.clone(); } // Bug 306075 if(this.changeSetDeleteNullQuery != null) { clone.changeSetDeleteNullQuery = (ModifyQuery)this.changeSetDeleteNullQuery.clone(); } if(this.deleteAtIndexQuery != null) { clone.deleteAtIndexQuery = (ModifyQuery)this.deleteAtIndexQuery.clone(); } if(this.updateAtIndexQuery != null) { clone.updateAtIndexQuery = (ModifyQuery)this.updateAtIndexQuery.clone(); } return clone; }