E
- @Immutable public final class ForeignKey<E> extends Object implements Serializable, ProjectionRole<Tuple>
ForeignKey
defines a foreign key on a table to another tableConstructor and Description |
---|
ForeignKey(RelationalPath<?> entity,
com.google.common.collect.ImmutableList<? extends Path<?>> localColumns,
com.google.common.collect.ImmutableList<String> foreignColumns) |
ForeignKey(RelationalPath<?> entity,
Path<?> localColumn,
String foreignColumn) |
Modifier and Type | Method and Description |
---|---|
RelationalPath<?> |
getEntity() |
List<String> |
getForeignColumns() |
List<? extends Path<?>> |
getLocalColumns() |
Expression<Tuple> |
getProjection()
Return the custom projection
|
BooleanExpression |
in(SubQueryExpression<Tuple> coll) |
Predicate |
on(RelationalPath<E> entity) |
public ForeignKey(RelationalPath<?> entity, Path<?> localColumn, String foreignColumn)
public ForeignKey(RelationalPath<?> entity, com.google.common.collect.ImmutableList<? extends Path<?>> localColumns, com.google.common.collect.ImmutableList<String> foreignColumns)
public RelationalPath<?> getEntity()
public Predicate on(RelationalPath<E> entity)
public BooleanExpression in(SubQueryExpression<Tuple> coll)
public Expression<Tuple> getProjection()
ProjectionRole
getProjection
in interface ProjectionRole<Tuple>
Copyright © 2007–2016 Querydsl. All rights reserved.