| java.lang.Object org.apache.torque.map.InheritanceMap
InheritanceMap | public class InheritanceMap (Code) | | InheritanceMap is used to model OM inheritance classes.
author: Greg Monroe version: $Id$ |
Method Summary | |
public String | getClassName() Returns the class name for this InheritanceMap. | public ColumnMap | getColumn() Returns the column this inheritance map belongs to. | public String | getExtends() Returns the ancestor class for the class described by this
InheritanceMap. | public String | getKey() Returns the key by which this inheritanceMap is activated. | public void | setClassName(String className) Sets the class name for this InheritanceMap. | public void | setColumn(ColumnMap column) Sets the column this inheritance map belongs to. | public void | setExtends(String ancestor) Sets the ancestor class for the class described by this InheritanceMap. | public void | setKey(String key) Sets the key by which this inheritanceMap is activated. |
InheritanceMap | public InheritanceMap(ColumnMap column, String key, String className, String ancestor)(Code) | | Create an inheritance map object.
Parameters: column - The column this inheritance map belongs to. Parameters: key - Key to determine which subclass applies Parameters: className - package.Name of sub class to use for record. Parameters: ancestor - package.Name of class that className extends. |
getClassName | public String getClassName()(Code) | | Returns the class name for this InheritanceMap.
The class name for this InheritanceMap. |
getColumn | public ColumnMap getColumn()(Code) | | Returns the column this inheritance map belongs to.
the column this inheritance map belongs to. |
getExtends | public String getExtends()(Code) | | Returns the ancestor class for the class described by this
InheritanceMap.
the ancestor class for the class described by thisInheritanceMap. |
getKey | public String getKey()(Code) | | Returns the key by which this inheritanceMap is activated.
The key by which this inheritanceMap is activated. |
setClassName | public void setClassName(String className)(Code) | | Sets the class name for this InheritanceMap.
Parameters: className - The className for this InheritanceMap. |
setColumn | public void setColumn(ColumnMap column)(Code) | | Sets the column this inheritance map belongs to.
Parameters: column - the column this inheritance map belongs to. |
setExtends | public void setExtends(String ancestor)(Code) | | Sets the ancestor class for the class described by this InheritanceMap.
Parameters: ancestor - The ancestor for the class described by thisInheritanceMap. |
setKey | public void setKey(String key)(Code) | | Sets the key by which this inheritanceMap is activated.
Parameters: key - The key by which this inheritanceMap is activated. |
|
|