org.openanzo.sqlscribe
Interface ITable

All Known Implementing Classes:
Table, TempTable

public interface ITable

Represents a relational database table for use in the query builder framework.

Author:
Matthew Roy ( mroy@cambridgesemantics.com )

Method Summary
 java.lang.String getAlias()
          Get the table's alias.
 java.lang.String getDeclaration()
          Get the table's declaration string
 void writeAlias(java.lang.StringBuffer buf)
          Write the table's alias string to a buffer
 void writeDeclaration(java.lang.StringBuffer buf)
          Write the table's declaration string to a buffer
 

Method Detail

getAlias

java.lang.String getAlias()
Get the table's alias. Example: FROM TABLE1 alias,TABLE2

Returns:
the table's alias

writeAlias

void writeAlias(java.lang.StringBuffer buf)
Write the table's alias string to a buffer

Parameters:
buf - buffer to which alias string is written

getDeclaration

java.lang.String getDeclaration()
Get the table's declaration string

Returns:
the table's declaration string

writeDeclaration

void writeDeclaration(java.lang.StringBuffer buf)
Write the table's declaration string to a buffer

Parameters:
buf - buffer to which the declaration string is written


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.