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;
}
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;
}
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;
}
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;
}
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;
}
Aggregations