public class ForeignKeyInfo extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
class |
ForeignKeyInfo.ForeignKeyCol |
Constructor and Description |
---|
ForeignKeyInfo() |
ForeignKeyInfo(List<SQLForeignKey> fks,
String childTableName,
String childDatabaseName) |
Modifier and Type | Method and Description |
---|---|
String |
getChildDatabaseName() |
String |
getChildTableName() |
Map<String,List<ForeignKeyInfo.ForeignKeyCol>> |
getForeignKeys() |
static boolean |
isNotEmpty(ForeignKeyInfo info) |
void |
setChildDatabaseName(String databaseName) |
void |
setChildTableName(String tableName) |
void |
setForeignKeys(Map<String,List<ForeignKeyInfo.ForeignKeyCol>> foreignKeys) |
String |
toString() |
public ForeignKeyInfo()
public ForeignKeyInfo(List<SQLForeignKey> fks, String childTableName, String childDatabaseName)
public String getChildTableName()
public String getChildDatabaseName()
public Map<String,List<ForeignKeyInfo.ForeignKeyCol>> getForeignKeys()
public void setChildTableName(String tableName)
public void setChildDatabaseName(String databaseName)
public void setForeignKeys(Map<String,List<ForeignKeyInfo.ForeignKeyCol>> foreignKeys)
public static boolean isNotEmpty(ForeignKeyInfo info)
Copyright © 2022 The Apache Software Foundation. All rights reserved.