Package org.apache.torque.map
Klasse InheritanceMap
java.lang.Object
org.apache.torque.map.InheritanceMap
- Alle implementierten Schnittstellen:
Serializable
InheritanceMap is used to model OM inheritance classes.
- Version:
- $Id: InheritanceMap.java 1448414 2013-02-20 21:06:35Z tfischer $
- Autor:
- Greg Monroe
- Siehe auch:
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungInheritanceMap
(ColumnMap column, String key, String className, String ancestor) Create an inheritance map object. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the class name for this InheritanceMap.Returns the column this inheritance map belongs to.Returns the ancestor class for the class described by this InheritanceMap.getKey()
Returns the key by which this inheritanceMap is activated.void
setClassName
(String className) Sets the class name for this InheritanceMap.void
Sets the column this inheritance map belongs to.void
setExtends
(String ancestor) Sets the ancestor class for the class described by this InheritanceMap.void
Sets the key by which this inheritanceMap is activated.
-
Konstruktordetails
-
InheritanceMap
Create an inheritance map object.- Parameter:
column
- The column this inheritance map belongs to.key
- Key to determine which subclass appliesclassName
- package.Name of sub class to use for record.ancestor
- package.Name of class that className extends.
-
-
Methodendetails
-
getExtends
Returns the ancestor class for the class described by this InheritanceMap.- Gibt zurück:
- the ancestor class for the class described by this InheritanceMap.
-
setExtends
Sets the ancestor class for the class described by this InheritanceMap.- Parameter:
ancestor
- The ancestor for the class described by this InheritanceMap.
-
getClassName
Returns the class name for this InheritanceMap.- Gibt zurück:
- The class name for this InheritanceMap.
-
setClassName
Sets the class name for this InheritanceMap.- Parameter:
className
- The className for this InheritanceMap.
-
getColumn
Returns the column this inheritance map belongs to.- Gibt zurück:
- the column this inheritance map belongs to.
-
setColumn
Sets the column this inheritance map belongs to.- Parameter:
column
- the column this inheritance map belongs to.
-
getKey
Returns the key by which this inheritanceMap is activated.- Gibt zurück:
- The key by which this inheritanceMap is activated.
-
setKey
Sets the key by which this inheritanceMap is activated.- Parameter:
key
- The key by which this inheritanceMap is activated.
-