org.apache.ws.jaxme.sqls

Interface Statement

Known Subinterfaces:
ConstrainedStatement, DeleteStatement, InsertStatement, OraSelectStatement, SelectStatement, SetStatement, UpdateStatement
Known Implementing Classes:
ConstrainedStatementImpl, DeleteStatementImpl, InsertStatementImpl, OraSelectStatementImpl, SelectStatementImpl, SetStatementImpl, StatementImpl, UpdateStatementImpl

public interface Statement

Author:
Jochen Wiedmann

Method Summary

Function
createFunction(String pName)
Creates a new function, which may be added to a BooleanConstraint.
SQLFactory
getSQLFactory()
Returns the SQLFactory that created this Statement.
TableReference
getTableReference()
Returns the table reference, for which the statement applies.
Case
newCase(Column.Type pType)
Creates a new instance of Case.
TableReference
setTable(Table pTable)
Sets the table, for which the statement applies and returns a reference to the table.

Method Details

createFunction

public Function createFunction(String pName)
Creates a new function, which may be added to a BooleanConstraint.

getSQLFactory

public SQLFactory getSQLFactory()
Returns the SQLFactory that created this Statement.

getTableReference

public TableReference getTableReference()
Returns the table reference, for which the statement applies.

newCase

public Case newCase(Column.Type pType)
Creates a new instance of Case.

setTable

public TableReference setTable(Table pTable)
Sets the table, for which the statement applies and returns a reference to the table.