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

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

public class IdMethodParameter
extends Object

Information related to an ID method.

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

Constructor Summary
IdMethodParameter()
           
 
Method Summary
 String getName()
          Get the parameter name
 Table getTable()
          Get the parent Table of the id method
 String getTableName()
          Returns the Name of the table the id method is in
 String getValue()
          Get the parameter value
 void loadFromXML(Attributes attrib)
          Imports foreign key from an XML specification
 void setName(String name)
          Set the parameter name
 void setTable(Table parent)
          Set the parent Table of the id method
 void setValue(String value)
          Set the parameter value
 String toString()
          XML representation of the foreign key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IdMethodParameter

public IdMethodParameter()
Method Detail

loadFromXML

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


getName

public String getName()
Get the parameter name


setName

public void setName(String name)
Set the parameter name


getValue

public String getValue()
Get the parameter value


setValue

public void setValue(String value)
Set the parameter value


setTable

public void setTable(Table parent)
Set the parent Table of the id method


getTable

public Table getTable()
Get the parent Table of the id method


getTableName

public String getTableName()
Returns the Name of the table the id method is in


toString

public String toString()
XML representation of the foreign key.

Overrides:
toString in class Object


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