org.tranql.sql
Class Table

java.lang.Object
  extended byorg.tranql.sql.Table
All Implemented Interfaces:
Entity, java.io.Serializable

public class Table
extends java.lang.Object
implements Entity

Version:
$Revision: 1.7 $ $Date: 2004/04/21 15:22:42 $
See Also:
Serialized Form

Constructor Summary
Table(java.lang.String tableName)
           
Table(java.lang.String name, java.lang.String tableName)
           
 
Method Summary
 void addColumn(Column col)
           
 java.util.List getAssociationEnds()
           
 Attribute getAttribute(java.lang.String name)
           
 java.util.List getAttributes()
           
 java.lang.String getName()
           
 java.lang.String getPhysicalName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Table

public Table(java.lang.String tableName)

Table

public Table(java.lang.String name,
             java.lang.String tableName)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Entity

getPhysicalName

public java.lang.String getPhysicalName()
Specified by:
getPhysicalName in interface Entity

addColumn

public void addColumn(Column col)

getAttribute

public Attribute getAttribute(java.lang.String name)
Specified by:
getAttribute in interface Entity

getAttributes

public java.util.List getAttributes()
Specified by:
getAttributes in interface Entity

getAssociationEnds

public java.util.List getAssociationEnds()
Specified by:
getAssociationEnds in interface Entity


Copyright © -2005 The Codehaus. All Rights Reserved.