|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.torque.map.ForeignKeyMap.ColumnPair
public static class ForeignKeyMap.ColumnPair
A pair of local and Foreign column. This class is immutable.
Constructor Summary | |
---|---|
ForeignKeyMap.ColumnPair(ForeignKeyMap foreignKeyMap,
ColumnMap local,
ColumnMap foreign)
Constructor. |
|
ForeignKeyMap.ColumnPair(ForeignKeyMap foreignKeyMap,
ColumnMap local,
String foreignName)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ForeignKeyMap.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 ForeignKeyMap.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.Method Detail |
---|
public ForeignKeyMap getForeignKeyMap()
public ColumnMap getLocal()
public ColumnMap getForeign()
IllegalStateException
- if the foreign table map builder
was not yet built.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |