EGF Engine
Release 0.1.0

org.eclipse.egf.model.data.reader.descriptor
Interface IFactoryComponentReader

All Known Implementing Classes:
PatternExtensionReader, PdeTargetPlatformReader, WorkspaceFactoryComponentReader

public interface IFactoryComponentReader

Defines services to read EGF model elements depending on implementors.


Method Summary
 IContextDescriptor readContext(String contextId_p, String factoryComponentId_p)
          Read a context description for given ids.
 IContractDescriptor readContract(String contractId_p, String factoryComponentId_p)
          Read a contract description for given ids.
 IContractElementReferenceDescriptor readContractElementReference(String contractReferenceId_p, String factoryComponentId_p)
          Read a contract element reference for given ids.
 IFactoryComponentDescriptor readFactoryComponent(String factoryComponentId_p)
          Read a factory component description for given id.
 IFactoryComponentInvocationDescriptor readFactoryComponentInvocation(String factoryComponentInvocation_p, String factoryComponentId_p)
          Read a factory component invocation description for given ids.
 IDescriptor readMappings(String factoryComponentId_p)
          Read all mappings for given factory component.
 IDescriptor readPatternLibraries(String factoryComponentId_p)
          Read all pattern libraries for given factory component.
 IProductionPlanDescriptor readProductionPlan(String productionPlanId_p, String factoryComponentId_p)
          Read a production plan description for given ids.
 ITaskFactoryDescriptor readTaskFactory(String taskFactoryId_p, String factoryComponentId_p)
          Read a task factory for given ids.
 

Method Detail

readFactoryComponent

IFactoryComponentDescriptor readFactoryComponent(String factoryComponentId_p)
Read a factory component description for given id.

Parameters:
factoryComponentId_p -
Returns:
an IFactoryComponentDescriptor instance or null if data are not found.

readProductionPlan

IProductionPlanDescriptor readProductionPlan(String productionPlanId_p,
                                             String factoryComponentId_p)
Read a production plan description for given ids.

Parameters:
productionPlanId_p -
factoryComponentId_p -
Returns:
an IProductionPlanDescriptor instance or null if data are not found.

readFactoryComponentInvocation

IFactoryComponentInvocationDescriptor readFactoryComponentInvocation(String factoryComponentInvocation_p,
                                                                     String factoryComponentId_p)
Read a factory component invocation description for given ids.

Parameters:
factoryComponentInvocation_p -
factoryComponentId_p -
Returns:
an IFactoryComponentInvocationDescriptor instance or null if data are not found.

readContract

IContractDescriptor readContract(String contractId_p,
                                 String factoryComponentId_p)
Read a contract description for given ids.

Parameters:
contractId_p -
factoryComponentId_p -
Returns:
an IContractDescriptor instance or null if data are not found.

readContext

IContextDescriptor readContext(String contextId_p,
                               String factoryComponentId_p)
Read a context description for given ids.

Parameters:
contextId_p -
factoryComponentId_p -
Returns:
an IContextDescriptor instance or null if data are not found.

readContractElementReference

IContractElementReferenceDescriptor readContractElementReference(String contractReferenceId_p,
                                                                 String factoryComponentId_p)
Read a contract element reference for given ids.

Parameters:
contractReferenceId_p -
factoryComponentId_p -
Returns:
an IContractElementReferenceDescriptor instance or null if data are not found.

readTaskFactory

ITaskFactoryDescriptor readTaskFactory(String taskFactoryId_p,
                                       String factoryComponentId_p)
Read a task factory for given ids.

Parameters:
taskFactoryId_p -
factoryComponentId_p -
Returns:
an ITaskFactoryDescriptor instance or null if data are not found.

readPatternLibraries

IDescriptor readPatternLibraries(String factoryComponentId_p)
Read all pattern libraries for given factory component.

Parameters:
factoryComponentId_p -
Returns:
an IDescriptor instance or null if data are not found.

readMappings

IDescriptor readMappings(String factoryComponentId_p)
Read all mappings for given factory component.

Parameters:
factoryComponentId_p -
Returns:
an IDescriptor instance or null if data are not found.

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.