Class MetaModelDS
java.lang.Object
com.aquima.interactions.portal.ds.sys.metamodel.MetaModelDS
- All Implemented Interfaces:
IReportingDS
,IMetaModelDS
Meta model data-source implementation that adds the definition of the System entity.
- Since:
- 5.0
- Author:
- O. Kerpershoek
-
Field Summary
Fields inherited from interface com.aquima.interactions.metamodel.ds.IMetaModelDS
CATEGORY
-
Constructor Summary
ConstructorsConstructorDescriptionMetaModelDS
(IMetaModelDS datasource) Constructs the system data-source with an existing data-source implementation that will be used as fall back. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMessage
(ErrorCode code, String[] parameters, Severity severity) This method will add an initialization error to the report for the specified error code and parameters.This method returns the name of the module this model belongs to.This method returns the version of the module this model belongs to.void
iterateAggregates
(IAggregateVisitor visitor) This method will be invoked by the meta model component to allow the data layer to add new aggregate definitions to the meta model.void
iterateDomains
(IDomainVisitor visitor) This method will be invoked by the meta model component to allow the data layer to add new domain definitions to the meta model.void
iterateEntities
(IEntityVisitor visitor) This method will be invoked by the meta model component to allow the data layer to add new entity definitions to the meta model.void
iterateInstances
(IInstanceVisitor visitor) This method should iterate over all (static) instances and invoke the visitor with an implementation of IStaticInstanceDS to allow the instance to be initialized.
-
Constructor Details
-
MetaModelDS
Constructs the system data-source with an existing data-source implementation that will be used as fall back.- Parameters:
datasource
- Data source providing the information to initialize a meta model.
-
-
Method Details
-
getModuleName
Description copied from interface:IMetaModelDS
This method returns the name of the module this model belongs to.- Specified by:
getModuleName
in interfaceIMetaModelDS
- Returns:
- the name of the module this model belongs to.
-
getModuleVersion
Description copied from interface:IMetaModelDS
This method returns the version of the module this model belongs to.- Specified by:
getModuleVersion
in interfaceIMetaModelDS
- Returns:
- The version of the module this model belongs to.
-
addMessage
Description copied from interface:IReportingDS
This method will add an initialization error to the report for the specified error code and parameters.- Specified by:
addMessage
in interfaceIReportingDS
- Parameters:
code
- Error code identifying the message.parameters
- Optional array of parameters for the message.severity
- The severity of the message.
-
iterateDomains
Description copied from interface:IMetaModelDS
This method will be invoked by the meta model component to allow the data layer to add new domain definitions to the meta model.- Specified by:
iterateDomains
in interfaceIMetaModelDS
- Parameters:
visitor
- This object will be provided by the meta model to allow new domains to be added.
-
iterateEntities
Description copied from interface:IMetaModelDS
This method will be invoked by the meta model component to allow the data layer to add new entity definitions to the meta model.- Specified by:
iterateEntities
in interfaceIMetaModelDS
- Parameters:
visitor
- The visitor that should be used to add the entities to.
-
iterateInstances
Description copied from interface:IMetaModelDS
This method should iterate over all (static) instances and invoke the visitor with an implementation of IStaticInstanceDS to allow the instance to be initialized.- Specified by:
iterateInstances
in interfaceIMetaModelDS
- Parameters:
visitor
- The visitor that should be used to add the instances to.
-
iterateAggregates
Description copied from interface:IMetaModelDS
This method will be invoked by the meta model component to allow the data layer to add new aggregate definitions to the meta model.- Specified by:
iterateAggregates
in interfaceIMetaModelDS
- Parameters:
visitor
- This object will be provided by the meta model to allow new aggregates to be added.
-