@Immutable public final class PrimaryKey<E> extends java.lang.Object implements java.io.Serializable, ProjectionRole<Tuple>
Constructor and Description |
---|
PrimaryKey(RelationalPath<?> entity,
com.google.common.collect.ImmutableList<? extends Path<?>> localColumns) |
PrimaryKey(RelationalPath<?> entity,
Path<?>... localColumns) |
Modifier and Type | Method and Description |
---|---|
RelationalPath<?> |
getEntity() |
java.util.List<? extends Path<?>> |
getLocalColumns() |
Expression<Tuple> |
getProjection()
Return the custom projection
|
BooleanExpression |
in(CollectionExpression<?,Tuple> coll) |
public PrimaryKey(RelationalPath<?> entity, Path<?>... localColumns)
public PrimaryKey(RelationalPath<?> entity, com.google.common.collect.ImmutableList<? extends Path<?>> localColumns)
public RelationalPath<?> getEntity()
public java.util.List<? extends Path<?>> getLocalColumns()
public BooleanExpression in(CollectionExpression<?,Tuple> coll)
public Expression<Tuple> getProjection()
ProjectionRole
getProjection
in interface ProjectionRole<Tuple>
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.