Package org.apache.torque.map

# Klasse ForeignKeyMap.ColumnPair

java.lang.Object
org.apache.torque.map.ForeignKeyMap.ColumnPair

Alle implementierten Schnittstellen:
  `Serializable`

Umschließende Klasse:
  `ForeignKeyMap`

public static class ForeignKeyMap.ColumnPair extends Object implements Serializable
A pair of local and Foreign column. This class is immutable.

Siehe auch:
  - Serialisierte Form

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `ColumnPair(ForeignKeyMap foreignKeyMap, ColumnMap local, String foreignName)`
  Constructor.
  `ColumnPair(ForeignKeyMap foreignKeyMap, ColumnMap local, ColumnMap foreign)`
  Constructor.

- ## Methodenübersicht

  Modifizierer und Typ
  Methode
  Beschreibung
  `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.

  ### Von Klasse geerbte Methoden java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Konstruktordetails

  - ### ColumnPair

    public ColumnPair(ForeignKeyMap foreignKeyMap, ColumnMap local, ColumnMap foreign)
    Constructor.
    Parameter:
      `foreignKeyMap` - the foreign key map this columnPait belongs to.
      `local` - the local column, not null.
      `foreign` - the foreign column, not null.
    Löst aus:
      `NullPointerException` - if local or doreign are null.

  - ### ColumnPair

    public ColumnPair(ForeignKeyMap foreignKeyMap, ColumnMap local, String foreignName)
    Constructor.
    Parameter:
      `foreignKeyMap` - the foreign key map this columnPait belongs to.
      `local` - the local column, not null.
      `foreignName` - the foreign column, not null.
    Löst aus:
      `NullPointerException` - if local or doreign are null.

- ## Methodendetails

  - ### getForeignKeyMap

    public ForeignKeyMap getForeignKeyMap()
    Returns the associated foreign key map.
    Gibt zurück:
      the associated foreign key map, not null.

  - ### getLocal

    public ColumnMap getLocal()
    Returns the local column of the pair.
    Gibt zurück:
      the local column of the pair, not null.

  - ### getForeign

    public ColumnMap getForeign()
    Returns the foreign column of the pair.
    Gibt zurück:
      the foreign column of the pair, not null.
    Löst aus:
      `IllegalStateException` - if the foreign table map builder was not yet built.