# Uses of Class
org.apache.torque.map.ColumnMap

Packages that use ColumnMap
Package
Description
org.apache.torque.map
Description of the schema layout.

- ## Uses of ColumnMap in org.apache.torque.map

  Methods in org.apache.torque.map that return ColumnMap
  Modifier and Type
  Method
  Description
  `ColumnMap`
  InheritanceMap.`getColumn()`
  Returns the column this inheritance map belongs to.
  `ColumnMap`
  TableMap.`getColumn(String name)`
  Get a ColumnMap for the named table.
  `static ColumnMap`
  MapHelper.`getColumnMap(Column column, Criteria criteria)`
  Returns the column map for a column.
  `ColumnMap[]`
  TableMap.`getColumns()`
  Get a ColumnMap[] of the columns in this table.
  `ColumnMap`
  ForeignKeyMap.ColumnPair.`getForeign()`
  Returns the foreign column of the pair.
  `ColumnMap`
  ForeignKeyMap.ColumnPair.`getLocal()`
  Returns the local column of the pair.
  `ColumnMap`
  TableMap.`getPrimaryKey()`
  Returns the single primary key of this table, if it exists
  Methods in org.apache.torque.map with parameters of type ColumnMap
  Modifier and Type
  Method
  Description
  `void`
  TableMap.`addColumn(ColumnMap cmap)`
  Add a pre-created column to this table.
  `boolean`
  TableMap.`containsColumn(ColumnMap column)`
  Does this table contain the specified column?
  `void`
  InheritanceMap.`setColumn(ColumnMap column)`
  Sets the column this inheritance map belongs to.
  Constructors in org.apache.torque.map with parameters of type ColumnMap
  Modifier
  Constructor
  Description
  ``
  `ColumnPair(ForeignKeyMap foreignKeyMap, ColumnMap local, String foreignName)`
  Constructor.
  ``
  `ColumnPair(ForeignKeyMap foreignKeyMap, ColumnMap local, ColumnMap foreign)`
  Constructor.
  ``
  `InheritanceMap(ColumnMap column, String key, String className, String ancestor)`
  Create an inheritance map object.