public class ForeignKey extends DatabaseSelectionProvider implements HasReferences
| Modifier and Type | Field and Description |
|---|---|
protected String |
actualManyPropertyName |
protected String |
actualOnePropertyName |
static String |
copyright |
static org.slf4j.Logger |
logger |
protected String |
manyPropertyName |
protected String |
onDelete |
protected String |
onePropertyName |
protected String |
onUpdate |
protected String |
toSchema |
protected Table |
toTable |
protected String |
toTableName |
fromTable, hql, name, references, sql, toDatabase| Constructor and Description |
|---|
ForeignKey() |
ForeignKey(Table fromTable) |
| Modifier and Type | Method and Description |
|---|---|
Reference |
findReferenceByColumnNamePair(Pair<String> columnNamePair) |
String |
getActualManyPropertyName() |
String |
getActualOnePropertyName() |
String |
getFromDatabaseName() |
String |
getFromSchemaName() |
String |
getFromTableName() |
String |
getHql() |
String |
getManyPropertyName() |
String |
getOnDelete() |
String |
getOnePropertyName() |
String |
getOnUpdate() |
String |
getQualifiedName() |
String |
getToSchema() |
Table |
getToTable() |
String |
getToTableName() |
void |
init(Model model) |
void |
link(Model model) |
void |
reset() |
void |
setManyPropertyName(String manyPropertyName) |
void |
setOnDelete(String onDelete) |
void |
setOnePropertyName(String onePropertyName) |
void |
setOnUpdate(String onUpdate) |
void |
setToSchema(String toSchema) |
void |
setToTable(Table toTable) |
void |
setToTableName(String toTableName) |
String |
toString() |
afterUnmarshal, getFromTable, getName, getReferences, getSql, getToDatabase, setFromTable, setHql, setName, setSql, setToDatabase, visitChildrenclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFromTable, getReferences, setFromTablepublic static final String copyright
protected String onUpdate
protected String onDelete
protected String toSchema
protected String manyPropertyName
protected String onePropertyName
protected String toTableName
protected String actualManyPropertyName
protected String actualOnePropertyName
protected Table toTable
public static final org.slf4j.Logger logger
public ForeignKey()
public ForeignKey(Table fromTable)
public String getQualifiedName()
getQualifiedName in class DatabaseSelectionProviderpublic void reset()
reset in interface ModelObjectreset in class DatabaseSelectionProviderpublic void init(Model model)
init in interface ModelObjectinit in class DatabaseSelectionProviderpublic void link(Model model)
link in interface ModelObjectlink in class DatabaseSelectionProviderpublic Reference findReferenceByColumnNamePair(Pair<String> columnNamePair)
public String getFromDatabaseName()
public String getFromSchemaName()
public String getFromTableName()
public String getOnUpdate()
public void setOnUpdate(String onUpdate)
public String getOnDelete()
public void setOnDelete(String onDelete)
public String getManyPropertyName()
public void setManyPropertyName(String manyPropertyName)
public String getOnePropertyName()
public void setOnePropertyName(String onePropertyName)
public String getActualManyPropertyName()
public String getActualOnePropertyName()
public String getHql()
getHql in class DatabaseSelectionProviderpublic String getToSchema()
public void setToSchema(String toSchema)
public Table getToTable()
getToTable in interface HasReferencesgetToTable in class DatabaseSelectionProviderpublic void setToTable(Table toTable)
public String getToTableName()
public void setToTableName(String toTableName)