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

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

public class Inheritance
extends Object

A Class for information regarding possible objects representing a table

Version:
$Id: Inheritance.java,v 1.1 2007-10-21 07:57:27 abyrne Exp $
Author:
John McNally

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
 

Constructor Detail

Inheritance

public Inheritance()
Method Detail

loadFromXML

public void loadFromXML(Attributes attrib)
Imports foreign key from an XML specification

Parameters:
attrib - the xml attributes

getKey

public String getKey()
Get the value of key.

Returns:
value of key.

setKey

public void setKey(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 String getClassName()
Get the value of className.

Returns:
value of className.

setClassName

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

Parameters:
v - Value to assign to className.

getAncestor

public String getAncestor()
Get the value of ancestor.

Returns:
value of ancestor.

setAncestor

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

Parameters:
v - Value to assign to ancestor.

toString

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

Overrides:
toString in class Object
Returns:
string representation in xml


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.