Package com.querydsl.sql
Class ForeignKey<E>
java.lang.Object
com.querydsl.sql.ForeignKey<E>
- Type Parameters:
E-
- All Implemented Interfaces:
ProjectionRole<Tuple>,Serializable
@Immutable
public final class ForeignKey<E>
extends Object
implements Serializable, ProjectionRole<Tuple>
ForeignKey defines a foreign key on a table to another table- Author:
- tiwe
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionForeignKey(RelationalPath<?> entity, Path<?> localColumn, String foreignColumn) ForeignKey(RelationalPath<?> entity, List<? extends Path<?>> localColumns, List<String> foreignColumns) -
Method Summary
Modifier and TypeMethodDescriptionin(SubQueryExpression<Tuple> coll) on(RelationalPath<E> entity)
-
Constructor Details
-
ForeignKey
-
ForeignKey
public ForeignKey(RelationalPath<?> entity, List<? extends Path<?>> localColumns, List<String> foreignColumns)
-
-
Method Details
-
getEntity
-
getLocalColumns
-
getForeignColumns
-
on
-
in
-
getProjection
- Specified by:
getProjectionin interfaceProjectionRole<E>
-