org.datanucleus.store.rdbms.sql
Class SQLTable

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

public class SQLTable
extends java.lang.Object

Representation of a table reference in an SQL statement. Has a table, and an alias.


Field Summary
protected  org.datanucleus.store.mapped.DatastoreIdentifier alias
           
protected  java.lang.String groupName
           
protected  SQLStatement stmt
           
protected  org.datanucleus.store.mapped.DatastoreContainerObject table
           
 
Method Summary
 org.datanucleus.store.mapped.DatastoreIdentifier getAlias()
           
 java.lang.String getGroupName()
           
 SQLStatement getSQLStatement()
           
 org.datanucleus.store.mapped.DatastoreContainerObject getTable()
           
 java.lang.String toString()
          Stringifier method to return this "table" in a form for use in SQL statements.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

stmt

protected SQLStatement stmt

table

protected org.datanucleus.store.mapped.DatastoreContainerObject table

alias

protected org.datanucleus.store.mapped.DatastoreIdentifier alias

groupName

protected java.lang.String groupName
Method Detail

getSQLStatement

public SQLStatement getSQLStatement()

getTable

public org.datanucleus.store.mapped.DatastoreContainerObject getTable()

getAlias

public org.datanucleus.store.mapped.DatastoreIdentifier getAlias()

getGroupName

public java.lang.String getGroupName()

toString

public java.lang.String toString()
Stringifier method to return this "table" in a form for use in SQL statements. This can be of the following form(s)
 MYTABLE MYALIAS
 MYTABLE
 

Overrides:
toString in class java.lang.Object
Returns:
The String form for use


Copyright © 2009. All Rights Reserved.