|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.torque.map.InheritanceMap
public class InheritanceMap
InheritanceMap is used to model OM inheritance classes.
Constructor Summary | |
---|---|
InheritanceMap(ColumnMap column,
java.lang.String key,
java.lang.String className,
java.lang.String ancestor)
Create an inheritance map object. |
Method Summary | |
---|---|
java.lang.String |
getClassName()
Returns the class name for this InheritanceMap. |
ColumnMap |
getColumn()
Returns the column this inheritance map belongs to. |
java.lang.String |
getExtends()
Returns the ancestor class for the class described by this InheritanceMap. |
java.lang.String |
getKey()
Returns the key by which this inheritanceMap is activated. |
void |
setClassName(java.lang.String className)
Sets the class name for this InheritanceMap. |
void |
setColumn(ColumnMap column)
Sets the column this inheritance map belongs to. |
void |
setExtends(java.lang.String ancestor)
Sets the ancestor class for the class described by this InheritanceMap. |
void |
setKey(java.lang.String key)
Sets the key by which this inheritanceMap is activated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InheritanceMap(ColumnMap column, java.lang.String key, java.lang.String className, java.lang.String ancestor)
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.Method Detail |
---|
public java.lang.String getExtends()
public void setExtends(java.lang.String ancestor)
ancestor
- The ancestor for the class described by this
InheritanceMap.public java.lang.String getClassName()
public void setClassName(java.lang.String className)
className
- The className for this InheritanceMap.public ColumnMap getColumn()
public void setColumn(ColumnMap column)
column
- the column this inheritance map belongs to.public java.lang.String getKey()
public void setKey(java.lang.String key)
key
- The key by which this inheritanceMap is activated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |