E
- @Immutable public final class ForeignKey<E> extends java.lang.Object implements java.io.Serializable, ProjectionRole<Tuple>
Constructor and Description |
---|
ForeignKey(RelationalPath<?> entity,
com.google.common.collect.ImmutableList<? extends Path<?>> localColumns,
com.google.common.collect.ImmutableList<java.lang.String> foreignColumns) |
ForeignKey(RelationalPath<?> entity,
Path<?> localColumn,
java.lang.String foreignColumn) |
Modifier and Type | Method and Description |
---|---|
RelationalPath<?> |
getEntity() |
java.util.List<java.lang.String> |
getForeignColumns() |
java.util.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, java.lang.String foreignColumn)
public ForeignKey(RelationalPath<?> entity, com.google.common.collect.ImmutableList<? extends Path<?>> localColumns, com.google.common.collect.ImmutableList<java.lang.String> foreignColumns)
public RelationalPath<?> getEntity()
public java.util.List<? extends Path<?>> getLocalColumns()
public java.util.List<java.lang.String> getForeignColumns()
public Predicate on(RelationalPath<E> entity)
public BooleanExpression in(CollectionExpression<?,Tuple> coll)
public Expression<Tuple> getProjection()
ProjectionRole
getProjection
in interface ProjectionRole<Tuple>
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.