|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.torque.engine.database.model.Inheritance
public class Inheritance
A Class for information regarding possible objects representing a table
Field Summary | |
---|---|
private String |
ancestor
|
private String |
className
|
private String |
key
|
private Column |
parent
|
Constructor Summary | |
---|---|
Inheritance()
|
Method Summary | |
---|---|
String |
getAncestor()
Get the value of ancestor. |
String |
getClassName()
Get the value of className. |
Column |
getColumn()
Get the value of parent. |
String |
getKey()
Get the value of key. |
void |
loadFromXML(Attributes attrib)
Imports foreign key from an XML specification |
void |
setAncestor(String v)
Set the value of ancestor. |
void |
setClassName(String v)
Set the value of className. |
void |
setColumn(Column v)
Set the value of parent. |
void |
setKey(String v)
Set the value of key. |
String |
toString()
String representation of the foreign key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private String key
private String className
private String ancestor
private Column parent
Constructor Detail |
---|
public Inheritance()
Method Detail |
---|
public void loadFromXML(Attributes attrib)
attrib
- the xml attributespublic String getKey()
public void setKey(String v)
v
- Value to assign to key.public Column getColumn()
public void setColumn(Column v)
v
- Value to assign to parent.public String getClassName()
public void setClassName(String v)
v
- Value to assign to className.public String getAncestor()
public void setAncestor(String v)
v
- Value to assign to ancestor.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |