org.apache.ws.jaxme.sqls
Interface ObjectFactory

All Known Implementing Classes:
ObjectFactoryImpl

public interface ObjectFactory

A factory object for creating all the objects used by the SQL factory.

Author:
Jochen Wiedmann

Method Summary
 CombinedConstraint newCombinedConstraint(ConstrainedStatement pStatement, CombinedConstraint.Type pType)
          Creates a new instance of Constraint constraining the given ConstrainedStatement.
 Function newFunction(Statement pStatement, java.lang.String pName)
          Returns an instance of Function.
 JoinReference newJoinReference(SelectTableReference pSelectTableReference, Table pTable, boolean pIsLeftOuterJoin)
          Returns an instance of JoinReference.
 RawSQLCode newRawSQL(java.lang.String pRawSQLCode)
          Returns an instance of RawSQLCode.
 Table newView(SelectStatement pSelectStatement, Table.Name pName)
          Returns an instance of Table, which allows to embed the given instance of SelectStatement into another SELECT statement.
 

Method Detail

newRawSQL

public RawSQLCode newRawSQL(java.lang.String pRawSQLCode)

Returns an instance of RawSQLCode.


newJoinReference

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

Returns an instance of JoinReference.


newFunction

public Function newFunction(Statement pStatement,
                            java.lang.String pName)

Returns an instance of Function.


newView

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

Returns an instance of Table, which allows to embed the given instance of SelectStatement into another SELECT statement.


newCombinedConstraint

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

Creates a new instance of Constraint constraining the given ConstrainedStatement.