Search in sources :

Example 1 with ForeignKeyImpl

use of org.eclipse.persistence.internal.jpa.config.columns.ForeignKeyImpl in project eclipselink by eclipse-ee4j.

the class AbstractCollectionMappingImpl method setMapKeyForeignKey.

public ForeignKey setMapKeyForeignKey() {
    ForeignKeyImpl foreignKey = new ForeignKeyImpl();
    getMetadata().setMapKeyForeignKey(foreignKey.getMetadata());
    return foreignKey;
}
Also used : ForeignKeyImpl(org.eclipse.persistence.internal.jpa.config.columns.ForeignKeyImpl)

Example 2 with ForeignKeyImpl

use of org.eclipse.persistence.internal.jpa.config.columns.ForeignKeyImpl in project eclipselink by eclipse-ee4j.

the class OneToManyImpl method setForeignKey.

@Override
public ForeignKey setForeignKey() {
    ForeignKeyImpl foreignKey = new ForeignKeyImpl();
    getMetadata().setForeignKey(foreignKey.getMetadata());
    return foreignKey;
}
Also used : ForeignKeyImpl(org.eclipse.persistence.internal.jpa.config.columns.ForeignKeyImpl)

Example 3 with ForeignKeyImpl

use of org.eclipse.persistence.internal.jpa.config.columns.ForeignKeyImpl in project eclipselink by eclipse-ee4j.

the class EntityImpl method setPrimaryKeyForeignKey.

@Override
public ForeignKey setPrimaryKeyForeignKey() {
    ForeignKeyImpl foreignKey = new ForeignKeyImpl();
    getMetadata().setPrimaryKeyForeignKey(new PrimaryKeyForeignKeyMetadata(foreignKey.getMetadata()));
    return foreignKey;
}
Also used : PrimaryKeyForeignKeyMetadata(org.eclipse.persistence.internal.jpa.metadata.columns.PrimaryKeyForeignKeyMetadata) ForeignKeyImpl(org.eclipse.persistence.internal.jpa.config.columns.ForeignKeyImpl)

Example 4 with ForeignKeyImpl

use of org.eclipse.persistence.internal.jpa.config.columns.ForeignKeyImpl in project eclipselink by eclipse-ee4j.

the class AbstractObjectMappingImpl method setForeignKey.

public ForeignKey setForeignKey() {
    ForeignKeyImpl foreignKey = new ForeignKeyImpl();
    getMetadata().setForeignKey(foreignKey.getMetadata());
    return foreignKey;
}
Also used : ForeignKeyImpl(org.eclipse.persistence.internal.jpa.config.columns.ForeignKeyImpl)

Example 5 with ForeignKeyImpl

use of org.eclipse.persistence.internal.jpa.config.columns.ForeignKeyImpl in project eclipselink by eclipse-ee4j.

the class ElementCollectionImpl method setMapKeyForeignKey.

@Override
public ForeignKey setMapKeyForeignKey() {
    ForeignKeyImpl foreignKey = new ForeignKeyImpl();
    getMetadata().setMapKeyForeignKey(foreignKey.getMetadata());
    return foreignKey;
}
Also used : ForeignKeyImpl(org.eclipse.persistence.internal.jpa.config.columns.ForeignKeyImpl) AttributeOverride(org.eclipse.persistence.jpa.config.AttributeOverride) AssociationOverride(org.eclipse.persistence.jpa.config.AssociationOverride)

Aggregations

ForeignKeyImpl (org.eclipse.persistence.internal.jpa.config.columns.ForeignKeyImpl)10 PrimaryKeyForeignKeyMetadata (org.eclipse.persistence.internal.jpa.metadata.columns.PrimaryKeyForeignKeyMetadata)3 AssociationOverride (org.eclipse.persistence.jpa.config.AssociationOverride)1 AttributeOverride (org.eclipse.persistence.jpa.config.AttributeOverride)1