org.apache.tuscany.das.rdb.config
Interface ConfigFactory

All Known Implementing Classes:
ConfigFactoryImpl

public interface ConfigFactory

The Factory for the model. It provides a create method for each non-abstract class of the model.


Field Summary
static ConfigFactory INSTANCE
          The singleton instance of the factory.
 
Method Summary
 Column createColumn()
          Returns a new object of class 'Column'.
 Command createCommand()
          Returns a new object of class 'Command'.
 Config createConfig()
          Returns a new object of class 'Config'.
 ConnectionInfo createConnectionInfo()
          Returns a new object of class 'Connection Info'.
 ConnectionProperties createConnectionProperties()
          Returns a new object of class 'Connection Properties'.
 Create createCreate()
          Returns a new object of class 'Create'.
 Delete createDelete()
          Returns a new object of class 'Delete'.
 KeyPair createKeyPair()
          Returns a new object of class 'Key Pair'.
 Parameter createParameter()
          Returns a new object of class 'Parameter'.
 Parameters createParameters()
          Returns a new object of class 'Parameters'.
 Relationship createRelationship()
          Returns a new object of class 'Relationship'.
 ResultDescriptor createResultDescriptor()
          Returns a new object of class 'Result Descriptor'.
 Table createTable()
          Returns a new object of class 'Table'.
 Update createUpdate()
          Returns a new object of class 'Update'.
 void register(commonj.sdo.helper.HelperContext scope)
          Registers the types supported by this Factory within the supplied scope.argument
 

Field Detail

INSTANCE

static final ConfigFactory INSTANCE
The singleton instance of the factory.

Method Detail

createColumn

Column createColumn()
Returns a new object of class 'Column'.

Returns:
a new object of class 'Column'.

createCommand

Command createCommand()
Returns a new object of class 'Command'.

Returns:
a new object of class 'Command'.

createConfig

Config createConfig()
Returns a new object of class 'Config'.

Returns:
a new object of class 'Config'.

createConnectionInfo

ConnectionInfo createConnectionInfo()
Returns a new object of class 'Connection Info'.

Returns:
a new object of class 'Connection Info'.

createConnectionProperties

ConnectionProperties createConnectionProperties()
Returns a new object of class 'Connection Properties'.

Returns:
a new object of class 'Connection Properties'.

createCreate

Create createCreate()
Returns a new object of class 'Create'.

Returns:
a new object of class 'Create'.

createDelete

Delete createDelete()
Returns a new object of class 'Delete'.

Returns:
a new object of class 'Delete'.

createKeyPair

KeyPair createKeyPair()
Returns a new object of class 'Key Pair'.

Returns:
a new object of class 'Key Pair'.

createParameter

Parameter createParameter()
Returns a new object of class 'Parameter'.

Returns:
a new object of class 'Parameter'.

createParameters

Parameters createParameters()
Returns a new object of class 'Parameters'.

Returns:
a new object of class 'Parameters'.

createRelationship

Relationship createRelationship()
Returns a new object of class 'Relationship'.

Returns:
a new object of class 'Relationship'.

createResultDescriptor

ResultDescriptor createResultDescriptor()
Returns a new object of class 'Result Descriptor'.

Returns:
a new object of class 'Result Descriptor'.

createTable

Table createTable()
Returns a new object of class 'Table'.

Returns:
a new object of class 'Table'.

createUpdate

Update createUpdate()
Returns a new object of class 'Update'.

Returns:
a new object of class 'Update'.

register

void register(commonj.sdo.helper.HelperContext scope)
Registers the types supported by this Factory within the supplied scope.argument

Parameters:
scope - an instance of HelperContext used to manage the scoping of types.


Copyright © 2007 Apache Software Foundation. All Rights Reserved.