com.mysema.query.sql.support
Class ForeignKeyData

java.lang.Object
  extended by com.mysema.query.sql.support.ForeignKeyData
All Implemented Interfaces:
KeyData

public class ForeignKeyData
extends Object
implements KeyData

Author:
tiwe

Constructor Summary
ForeignKeyData(String name, String parentTable)
           
 
Method Summary
 void add(String foreignColumn, String parentColumn)
           
 List<String> getForeignColumns()
           
 String getName()
           
 List<String> getParentColumns()
           
 String getTable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForeignKeyData

public ForeignKeyData(String name,
                      String parentTable)
Method Detail

add

public void add(String foreignColumn,
                String parentColumn)

getName

public String getName()
Specified by:
getName in interface KeyData

getTable

public String getTable()
Specified by:
getTable in interface KeyData

getForeignColumns

public List<String> getForeignColumns()
Specified by:
getForeignColumns in interface KeyData

getParentColumns

public List<String> getParentColumns()
Specified by:
getParentColumns in interface KeyData


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