org.apache.torque.engine.database.model
Class Inheritance

java.lang.Object
  extended by org.apache.torque.engine.database.model.Inheritance

public class Inheritance
extends java.lang.Object

A Class for information regarding possible objects representing a table

Version:
$Id: Inheritance.java 473814 2006-11-11 22:30:30Z tv $
Author:
John McNally

Constructor Summary
Inheritance()
           
 
Method Summary
 java.lang.String getAncestor()
          Get the value of ancestor.
 java.lang.String getClassName()
          Get the value of className.
 Column getColumn()
          Get the value of parent.
 java.lang.String getKey()
          Get the value of key.
 void loadFromXML(org.xml.sax.Attributes attrib)
          Imports foreign key from an XML specification
 void setAncestor(java.lang.String v)
          Set the value of ancestor.
 void setClassName(java.lang.String v)
          Set the value of className.
 void setColumn(Column v)
          Set the value of parent.
 void setKey(java.lang.String v)
          Set the value of key.
 java.lang.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
 

Constructor Detail

Inheritance

public Inheritance()
Method Detail

loadFromXML

public void loadFromXML(org.xml.sax.Attributes attrib)
Imports foreign key from an XML specification

Parameters:
attrib - the xml attributes

getKey

public java.lang.String getKey()
Get the value of key.

Returns:
value of key.

setKey

public void setKey(java.lang.String v)
Set the value of key.

Parameters:
v - Value to assign to key.

getColumn

public Column getColumn()
Get the value of parent.

Returns:
value of parent.

setColumn

public void setColumn(Column v)
Set the value of parent.

Parameters:
v - Value to assign to parent.

getClassName

public java.lang.String getClassName()
Get the value of className.

Returns:
value of className.

setClassName

public void setClassName(java.lang.String v)
Set the value of className.

Parameters:
v - Value to assign to className.

getAncestor

public java.lang.String getAncestor()
Get the value of ancestor.

Returns:
value of ancestor.

setAncestor

public void setAncestor(java.lang.String v)
Set the value of ancestor.

Parameters:
v - Value to assign to ancestor.

toString

public java.lang.String toString()
String representation of the foreign key. This is an xml representation.

Overrides:
toString in class java.lang.Object
Returns:
string representation in xml


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.