public class InheritanceMap extends Object implements Serializable
Constructor and Description |
---|
InheritanceMap(ColumnMap column,
String key,
String className,
String ancestor)
Create an inheritance map object.
|
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Returns the class name for this InheritanceMap.
|
ColumnMap |
getColumn()
Returns the column this inheritance map belongs to.
|
String |
getExtends()
Returns the ancestor class for the class described by this
InheritanceMap.
|
String |
getKey()
Returns the key by which this inheritanceMap is activated.
|
void |
setClassName(String className)
Sets the class name for this InheritanceMap.
|
void |
setColumn(ColumnMap column)
Sets the column this inheritance map belongs to.
|
void |
setExtends(String ancestor)
Sets the ancestor class for the class described by this InheritanceMap.
|
void |
setKey(String key)
Sets the key by which this inheritanceMap is activated.
|
public InheritanceMap(ColumnMap column, String key, String className, 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.public String getExtends()
public void setExtends(String ancestor)
ancestor
- The ancestor for the class described by this
InheritanceMap.public String getClassName()
public void setClassName(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 String getKey()
public void setKey(String key)
key
- The key by which this inheritanceMap is activated.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.