static class SqlSchemaBuilder.ForeignKeyBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
childTable |
(package private) java.util.Map<java.lang.String,java.lang.String> |
keyMap |
(package private) java.lang.String |
keyName |
(package private) java.lang.String |
parentTable |
Constructor and Description |
---|
ForeignKeyBuilder(java.lang.String keyName,
java.lang.String childTable,
java.lang.String parentTable) |
Modifier and Type | Method and Description |
---|---|
void |
addColumnRelationship(java.lang.String childColumn,
java.lang.String parentColumn) |
SchemaForeignKey |
getForeignKey() |
java.lang.String keyName
java.lang.String childTable
java.lang.String parentTable
java.util.Map<java.lang.String,java.lang.String> keyMap
public ForeignKeyBuilder(java.lang.String keyName, java.lang.String childTable, java.lang.String parentTable)
public void addColumnRelationship(java.lang.String childColumn, java.lang.String parentColumn)
@NotNull public SchemaForeignKey getForeignKey()