E - @Immutable public final class ForeignKey<E> extends Object implements Serializable, ProjectionRole<Tuple>
| Constructor 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(CollectionExpression<?,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(CollectionExpression<?,Tuple> coll)
public Expression<Tuple> getProjection()
ProjectionRolegetProjection in interface ProjectionRole<Tuple>Copyright © 2007–2015 Querydsl. All rights reserved.