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, com.mysema.codegen.model.Type type)
           
 
Method Summary
 void add(String foreignColumn, String parentColumn)
           
 List<String> getForeignColumns()
           
 String getName()
           
 List<String> getParentColumns()
           
 String getTable()
           
 com.mysema.codegen.model.Type getType()
           
 
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,
                      @Nullable
                      com.mysema.codegen.model.Type type)
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

getType

@Nullable
public com.mysema.codegen.model.Type getType()
Specified by:
getType in interface KeyData


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