org.apache.ws.jaxme.sqls.impl

Class ObjectFactoryImpl

public class ObjectFactoryImpl extends Object implements ObjectFactory

Default implementation of the object factory.

Author: Jochen Wiedmann

Constructor Summary
protected ObjectFactoryImpl()
Method Summary
ExpressioncreateExpression(Statement pStatement, Expression.Type pType)
CasenewCase(Column.Type pType)
ColumnReferencenewColumnReference(TableReference pTableReference, Column pColumn)
CombinedConstraintnewCombinedConstraint(ConstrainedStatement pStatement, CombinedConstraint.Type pType)
FunctionnewFunction(Statement pStatement, String pName)
JoinReferencenewJoinReference(SelectTableReference pSelectTableReference, Table pTable, boolean pIsLeftOuterJoin)
RawSQLCodenewRawSQL(String pRawSQLCode)
TablenewView(SelectStatement pSelectStatement, Table.Name pName)

Constructor Detail

ObjectFactoryImpl

protected ObjectFactoryImpl()

Method Detail

createExpression

public Expression createExpression(Statement pStatement, Expression.Type pType)

newCase

public Case newCase(Column.Type pType)

newColumnReference

public ColumnReference newColumnReference(TableReference pTableReference, Column pColumn)

newCombinedConstraint

public CombinedConstraint newCombinedConstraint(ConstrainedStatement pStatement, CombinedConstraint.Type pType)

newFunction

public Function newFunction(Statement pStatement, String pName)

newJoinReference

public JoinReference newJoinReference(SelectTableReference pSelectTableReference, Table pTable, boolean pIsLeftOuterJoin)

newRawSQL

public RawSQLCode newRawSQL(String pRawSQLCode)

newView

public Table newView(SelectStatement pSelectStatement, Table.Name pName)