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

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

public class IdMethodParameter
extends java.lang.Object

Information related to an ID method.

Version:
$Id: IdMethodParameter.java 473814 2006-11-11 22:30:30Z tv $
Author:
John McNally, Daniel Rall

Constructor Summary
IdMethodParameter()
           
 
Method Summary
 java.lang.String getName()
          Get the parameter name
 Table getTable()
          Get the parent Table of the id method
 java.lang.String getTableName()
          Returns the Name of the table the id method is in
 java.lang.String getValue()
          Get the parameter value
 void loadFromXML(org.xml.sax.Attributes attrib)
          Imports foreign key from an XML specification
 void setName(java.lang.String name)
          Set the parameter name
 void setTable(Table parent)
          Set the parent Table of the id method
 void setValue(java.lang.String value)
          Set the parameter value
 java.lang.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(org.xml.sax.Attributes attrib)
Imports foreign key from an XML specification


getName

public java.lang.String getName()
Get the parameter name


setName

public void setName(java.lang.String name)
Set the parameter name


getValue

public java.lang.String getValue()
Get the parameter value


setValue

public void setValue(java.lang.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 java.lang.String getTableName()
Returns the Name of the table the id method is in


toString

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

Overrides:
toString in class java.lang.Object


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