org.apache.tuscany.das.rdb.test.companynoid
Interface CompanynoidFactory

All Known Implementing Classes:
CompanynoidFactoryImpl

public interface CompanynoidFactory

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


Field Summary
static CompanynoidFactory INSTANCE
          The singleton instance of the factory.
 
Method Summary
 CompanynoidType createCompanynoidType()
          Returns a new object of class 'Type'.
 DepartmentnoidType createDepartmentnoidType()
          Returns a new object of class 'Departmentnoid Type'.
 EmployeenoidType createEmployeenoidType()
          Returns a new object of class 'Employeenoid Type'.
 void register(commonj.sdo.helper.HelperContext scope)
          Registers the types supported by this Factory within the supplied scope.argument
 

Field Detail

INSTANCE

static final CompanynoidFactory INSTANCE
The singleton instance of the factory.

Method Detail

createCompanynoidType

CompanynoidType createCompanynoidType()
Returns a new object of class 'Type'.

Returns:
a new object of class 'Type'.

createDepartmentnoidType

DepartmentnoidType createDepartmentnoidType()
Returns a new object of class 'Departmentnoid Type'.

Returns:
a new object of class 'Departmentnoid Type'.

createEmployeenoidType

EmployeenoidType createEmployeenoidType()
Returns a new object of class 'Employeenoid Type'.

Returns:
a new object of class 'Employeenoid Type'.

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.