EGF Engine
Release 0.1.0

org.eclipse.egf.model.impl
Class ModelFactoryImpl

java.lang.Object
  extended by EFactoryImpl
      extended by org.eclipse.egf.model.impl.ModelFactoryImpl
All Implemented Interfaces:
ModelFactory

public class ModelFactoryImpl
extends EFactoryImpl
implements ModelFactory

An implementation of the model Factory.


Field Summary
 
Fields inherited from interface org.eclipse.egf.model.ModelFactory
eINSTANCE
 
Constructor Summary
ModelFactoryImpl()
          Creates an instance of the factory
 
Method Summary
 String convertToString(EDataType eDataType, Object instanceValue)
           
 String convertViewpointTypeToString(EDataType eDataType, Object instanceValue)
           
 EObject create(EClass eClass)
           
 Context createContext()
           
 ContextElement createContextElement()
           
 Contract createContract()
           
 ContractElement createContractElement()
           
 ContractElementReference createContractElementReference()
           
 Domain createDomain()
           
 Factory createFactory()
           
 FactoryComponent createFactoryComponent()
           
 FactoryComponentInvocation createFactoryComponentInvocation()
           
 Object createFromString(EDataType eDataType, String initialValue)
           
 MappingModel createMappingModel()
           
 MappingViewpoint createMappingViewpoint()
           
 PatternLibrary createPatternLibrary()
           
 PatternModel createPatternModel()
           
 PatternViewpoint createPatternViewpoint()
           
 ProductionPlan createProductionPlan()
           
 Specification createSpecification()
           
 TaskFactoryHolder createTaskFactoryHolder()
           
 Type createType()
           
 ViewpointType createViewpointTypeFromString(EDataType eDataType, String initialValue)
           
 ModelPackage getModelPackage()
           
static ModelPackage getPackage()
          Deprecated.  
static ModelFactory init()
          Creates the default factory implementation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelFactoryImpl

public ModelFactoryImpl()
Creates an instance of the factory.

Method Detail

init

public static ModelFactory init()
Creates the default factory implementation.


create

public EObject create(EClass eClass)


createFromString

public Object createFromString(EDataType eDataType,
                               String initialValue)


convertToString

public String convertToString(EDataType eDataType,
                              Object instanceValue)


createFactoryComponent

public FactoryComponent createFactoryComponent()

Specified by:
createFactoryComponent in interface ModelFactory
Returns:
a new object of class 'Factory Component'.

createDomain

public Domain createDomain()

Specified by:
createDomain in interface ModelFactory
Returns:
a new object of class 'Domain'.

createSpecification

public Specification createSpecification()

Specified by:
createSpecification in interface ModelFactory
Returns:
a new object of class 'Specification'.

createContract

public Contract createContract()

Specified by:
createContract in interface ModelFactory
Returns:
a new object of class 'Contract'.

createContractElement

public ContractElement createContractElement()

Specified by:
createContractElement in interface ModelFactory
Returns:
a new object of class 'Contract Element'.

createContractElementReference

public ContractElementReference createContractElementReference()

Specified by:
createContractElementReference in interface ModelFactory
Returns:
a new object of class 'Contract Element Reference'.

createType

public Type createType()

Specified by:
createType in interface ModelFactory
Returns:
a new object of class 'Type'.

createPatternViewpoint

public PatternViewpoint createPatternViewpoint()

Specified by:
createPatternViewpoint in interface ModelFactory
Returns:
a new object of class 'Pattern Viewpoint'.

createPatternLibrary

public PatternLibrary createPatternLibrary()

Specified by:
createPatternLibrary in interface ModelFactory
Returns:
a new object of class 'Pattern Library'.

createPatternModel

public PatternModel createPatternModel()

Specified by:
createPatternModel in interface ModelFactory
Returns:
a new object of class 'Pattern Model'.

createFactory

public Factory createFactory()

Specified by:
createFactory in interface ModelFactory
Returns:
a new object of class 'Factory'.

createProductionPlan

public ProductionPlan createProductionPlan()

Specified by:
createProductionPlan in interface ModelFactory
Returns:
a new object of class 'Production Plan'.

createContext

public Context createContext()

Specified by:
createContext in interface ModelFactory
Returns:
a new object of class 'Context'.

createContextElement

public ContextElement createContextElement()

Specified by:
createContextElement in interface ModelFactory
Returns:
a new object of class 'Context Element'.

createFactoryComponentInvocation

public FactoryComponentInvocation createFactoryComponentInvocation()

Specified by:
createFactoryComponentInvocation in interface ModelFactory
Returns:
a new object of class 'Factory Component Invocation'.

createTaskFactoryHolder

public TaskFactoryHolder createTaskFactoryHolder()

Specified by:
createTaskFactoryHolder in interface ModelFactory
Returns:
a new object of class 'Task Factory Holder'.

createMappingViewpoint

public MappingViewpoint createMappingViewpoint()

Specified by:
createMappingViewpoint in interface ModelFactory
Returns:
a new object of class 'Mapping Viewpoint'.

createMappingModel

public MappingModel createMappingModel()

Specified by:
createMappingModel in interface ModelFactory
Returns:
a new object of class 'Mapping Model'.

createViewpointTypeFromString

public ViewpointType createViewpointTypeFromString(EDataType eDataType,
                                                   String initialValue)


convertViewpointTypeToString

public String convertViewpointTypeToString(EDataType eDataType,
                                           Object instanceValue)


getModelPackage

public ModelPackage getModelPackage()

Specified by:
getModelPackage in interface ModelFactory
Returns:
the package supported by this factory.

getPackage

@Deprecated
public static ModelPackage getPackage()
Deprecated. 


EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.