org.apache.ws.jaxme.sqls.impl

Class StatementImpl

Implemented Interfaces:
Statement
Known Direct Subclasses:
ConstrainedStatementImpl, SetStatementImpl

public abstract class StatementImpl
extends java.lang.Object
implements Statement

A common base class for SelectStatement, InsertStatement, UpdateStatement, and DeleteStatement.
Author:
Jochen Wiedmann

Constructor Summary

StatementImpl(SQLFactory pFactory)

Method Summary

Function
createFunction(String pName)
SQLFactory
getSQLFactory()
TableReference
getTableReference()
Case
newCase(Column.Type pType)
protected TableReference
newTableReference(Table pTable)
TableReference
setTable(Table pTable)

Constructor Details

StatementImpl

protected StatementImpl(SQLFactory pFactory)

Method Details

createFunction

public Function createFunction(String pName)
Specified by:
createFunction in interface Statement

getSQLFactory

public SQLFactory getSQLFactory()
Specified by:
getSQLFactory in interface Statement

getTableReference

public TableReference getTableReference()
Specified by:
getTableReference in interface Statement

newCase

public Case newCase(Column.Type pType)
Specified by:
newCase in interface Statement

newTableReference

protected TableReference newTableReference(Table pTable)

setTable

public TableReference setTable(Table pTable)
Specified by:
setTable in interface Statement