pt.digitalis.dif.dem.managers
Interface IDEMManager

All Known Implementing Classes:
DEMManagerImpl

public interface IDEMManager

This interface manages the DEM entities, providing the connections between the elements to the CodeGen module.

Author:
Pedro Viegas pviegas@digitalis.pt, Rodrigo Gonçalves rgoncalves@digitalis.pt
Created on:
Oct 3, 2007

Method Summary
 IApplication getApplication(String applicationID)
          Returns the application with the given id
 Map<String,IApplication> getApplications(IProvider provider)
          Returns all applications related to the given provider.
 IProvider getDefaultProvider()
          Returns the default provider
 IEntity getEntity(Entity type, String entityID)
          Returns the entity with the given id
 IProvider getProvider(String providerID)
          Returns the provider with the given id
 Map<String,IProvider> getProviders()
          Returns all registered providers.
 IService getService(String serviceID)
          Returns the service with the given id
 Map<String,IService> getServices(IApplication application)
          Returns all services related to the given application.
 IStage getStage(String stageID)
          Returns the stage with the given id
 Map<String,IStage> getStages(IService service)
          Returns all stages related to the given service.
 

Method Detail

getApplications

Map<String,IApplication> getApplications(IProvider provider)
Returns all applications related to the given provider.

Parameters:
provider - the provider
Returns:
a map of all applications associated with the provider

getServices

Map<String,IService> getServices(IApplication application)
Returns all services related to the given application.

Parameters:
application - the application
Returns:
a map of all services associated with the application

getStages

Map<String,IStage> getStages(IService service)
Returns all stages related to the given service.

Parameters:
service - the service
Returns:
a map with all the stages related to the service

getProviders

Map<String,IProvider> getProviders()
Returns all registered providers.

Returns:
a map with all the registered providers.

getProvider

IProvider getProvider(String providerID)
Returns the provider with the given id

Parameters:
providerID - the provider id
Returns:
the provider

getApplication

IApplication getApplication(String applicationID)
Returns the application with the given id

Parameters:
applicationID - the application id
Returns:
the application

getService

IService getService(String serviceID)
Returns the service with the given id

Parameters:
serviceID - the service id
Returns:
the service

getStage

IStage getStage(String stageID)
Returns the stage with the given id

Parameters:
stageID - the stage id
Returns:
the stage

getEntity

IEntity getEntity(Entity type,
                  String entityID)
Returns the entity with the given id

Parameters:
type - the entity type
entityID - the entity ID
Returns:
the entity object

getDefaultProvider

IProvider getDefaultProvider()
Returns the default provider

Returns:
the provider


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.