com.mysema.query.sql
Class ForeignKey<E>
java.lang.Object
com.mysema.query.sql.ForeignKey<E>
- Type Parameters:
E
- P
-
@Immutable
public class ForeignKey<E>
- extends Object
ForeignKey defines a foreign key on a table to another table
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForeignKey
public ForeignKey(RelationalPath<?> entity,
Path<?> localColumn,
String foreignColumn)
ForeignKey
public ForeignKey(RelationalPath<?> entity,
List<? extends Path<?>> localColumns,
List<String> foreignColumns)
getEntity
public RelationalPath<?> getEntity()
getLocalColumns
public List<? extends Path<?>> getLocalColumns()
getForeignColumns
public List<String> getForeignColumns()
on
public Predicate on(RelationalPath<E> entity)
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.