org.datanucleus.store.rdbms.sql
Class SQLTableGroup

java.lang.Object
  extended by org.datanucleus.store.rdbms.sql.SQLTableGroup

public class SQLTableGroup
extends java.lang.Object

Group of tables in an SQL statement. Tables are grouped to represent a particular object, so equates to an inheritance tree. In this way, if we have a class B which extends class A and they have tables B and A respectively then tables B and A will be in the same group when related to that object.


Method Summary
 void addTable(SQLTable tbl)
           
 SQLJoin.JoinType getJoinType()
           
 java.lang.String getName()
           
 int getNumberOfTables()
           
 SQLTable[] getTables()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()

getJoinType

public SQLJoin.JoinType getJoinType()

addTable

public void addTable(SQLTable tbl)

getNumberOfTables

public int getNumberOfTables()

getTables

public SQLTable[] getTables()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009. All Rights Reserved.