com.mysema.query.sql
Class ForeignKey<E>

java.lang.Object
  extended by com.mysema.query.sql.ForeignKey<E>
Type Parameters:
E -
All Implemented Interfaces:
Serializable

public class ForeignKey<E>
extends Object
implements Serializable

ForeignKey defines a foreign key on a table to another table

Author:
tiwe
See Also:
Serialized Form

Constructor Summary
ForeignKey(RelationalPath<?> entity, List<? extends Path<?>> localColumns, List<String> foreignColumns)
           
ForeignKey(RelationalPath<?> entity, Path<?> localColumn, String foreignColumn)
           
 
Method Summary
 RelationalPath<?> getEntity()
           
 List<String> getForeignColumns()
           
 List<? extends Path<?>> getLocalColumns()
           
 Predicate on(RelationalPath<E> entity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForeignKey

public ForeignKey(RelationalPath<?> entity,
                  Path<?> localColumn,
                  String foreignColumn)

ForeignKey

public ForeignKey(RelationalPath<?> entity,
                  List<? extends Path<?>> localColumns,
                  List<String> foreignColumns)
Method Detail

getEntity

public RelationalPath<?> getEntity()

getLocalColumns

public List<? extends Path<?>> getLocalColumns()

getForeignColumns

public List<String> getForeignColumns()

on

public Predicate on(RelationalPath<E> entity)


Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.