org.apache.ws.jaxme.sqls

Interface Statement

public interface Statement

Author: Jochen Wiedmann

Method Summary
FunctioncreateFunction(String pName)

Creates a new function, which may be added to a {@link org.apache.ws.jaxme.sqls.BooleanConstraint}.

SQLFactorygetSQLFactory()

Returns the {@link org.apache.ws.jaxme.sqls.SQLFactory} that created this Statement.

TableReferencegetTableReference()

Returns the table reference, for which the statement applies.

CasenewCase(Column.Type pType)
Creates a new instance of {@link Case}.
TableReferencesetTable(Table pTable)

Sets the table, for which the statement applies and returns a reference to the table.

Method Detail

createFunction

public Function createFunction(String pName)

Creates a new function, which may be added to a {@link org.apache.ws.jaxme.sqls.BooleanConstraint}.

getSQLFactory

public SQLFactory getSQLFactory()

Returns the {@link org.apache.ws.jaxme.sqls.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 {@link Case}.

setTable

public TableReference setTable(Table pTable)

Sets the table, for which the statement applies and returns a reference to the table.