org.apache.tuscany.sdo.model
Interface ModelFactory

All Known Implementing Classes:
ModelFactoryImpl

public interface ModelFactory

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


Field Summary
static ModelFactory INSTANCE
          The singleton instance of the factory.
 
Method Summary
 ChangeSummaryType createChangeSummaryType()
          Returns a new object of class 'Change Summary Type'.
 DataGraphType createDataGraphType()
          Returns a new object of class 'Data Graph Type'.
 ModelsType createModelsType()
          Returns a new object of class 'Models Type'.
 Property createProperty()
          Returns a new object of class 'Property'.
 Type createType()
          Returns a new object of class 'Type'.
 Types createTypes()
          Returns a new object of class 'Types'.
 XSDType createXSDType()
          Returns a new object of class 'XSD Type'.
 

Field Detail

INSTANCE

static final ModelFactory INSTANCE
The singleton instance of the factory.

Method Detail

createChangeSummaryType

ChangeSummaryType createChangeSummaryType()
Returns a new object of class 'Change Summary Type'.

Returns:
a new object of class 'Change Summary Type'.

createDataGraphType

DataGraphType createDataGraphType()
Returns a new object of class 'Data Graph Type'.

Returns:
a new object of class 'Data Graph Type'.

createModelsType

ModelsType createModelsType()
Returns a new object of class 'Models Type'.

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

createProperty

Property createProperty()
Returns a new object of class 'Property'.

Returns:
a new object of class 'Property'.

createType

Type createType()
Returns a new object of class 'Type'.

Returns:
a new object of class 'Type'.

createTypes

Types createTypes()
Returns a new object of class 'Types'.

Returns:
a new object of class 'Types'.

createXSDType

XSDType createXSDType()
Returns a new object of class 'XSD Type'.

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


Copyright © 2006 Apache Software Foundation. All Rights Reserved.