public static class ForeignKeyMap.ColumnPair extends Object implements Serializable
| Constructor and Description |
|---|
ColumnPair(ForeignKeyMap foreignKeyMap,
ColumnMap local,
ColumnMap foreign)
Constructor.
|
ColumnPair(ForeignKeyMap foreignKeyMap,
ColumnMap local,
String foreignName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ColumnMap |
getForeign()
Returns the foreign column of the pair.
|
ForeignKeyMap |
getForeignKeyMap()
Returns the associated foreign key map.
|
ColumnMap |
getLocal()
Returns the local column of the pair.
|
public ColumnPair(ForeignKeyMap foreignKeyMap, ColumnMap local, ColumnMap foreign)
foreignKeyMap - the foreign key map this columnPait belongs to.local - the local column, not null.foreign - the foreign column, not null.NullPointerException - if local or doreign are null.public ColumnPair(ForeignKeyMap foreignKeyMap, ColumnMap local, String foreignName)
foreignKeyMap - the foreign key map this columnPait belongs to.local - the local column, not null.foreignName - the foreign column, not null.NullPointerException - if local or doreign are null.public ForeignKeyMap getForeignKeyMap()
public ColumnMap getLocal()
public ColumnMap getForeign()
IllegalStateException - if the foreign table map builder
was not yet built.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.