Class XmlAggregateDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.metamodel.ds.xml.parsing.XmlAggregateDS
- All Implemented Interfaces:
IReportingDS
,IAggregateDS
IAggregateDS implementation which reads the aggregate's data from XML. Used for parsing (part of) an XML export from
Studio.
- Author:
- voicu
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
XmlAggregateDS
(IInitializationReport report, IXmlNode node) -
Method Summary
Modifier and TypeMethodDescriptionThis method should return the description of the aggregate.This method should return the functional name of the aggregate.getName()
This method should return the name of the aggregate.String[]
getRoles()
This method returns the aggregate's roles.void
This method should iterate over all entity references that are valid in the aggregate definition and invoke the visitor for each one of them.void
iterateMetadata
(IMetadataVisitor visitor) This method iterates over the metadata data sources in this aggregate data source and invokes he given visitor's process method for each one.Methods inherited from class com.aquima.interactions.foundation.report.ReportingDS
addError, addMessage, getCategory, getReport
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
Constructor Details
-
XmlAggregateDS
-
-
Method Details
-
getName
Description copied from interface:IAggregateDS
This method should return the name of the aggregate.- Specified by:
getName
in interfaceIAggregateDS
- Returns:
- (String) The name of the aggregate.
-
getFunctionalName
Description copied from interface:IAggregateDS
This method should return the functional name of the aggregate.- Specified by:
getFunctionalName
in interfaceIAggregateDS
- Returns:
- (String) THe functional name of the aggregate.
-
getDescription
Description copied from interface:IAggregateDS
This method should return the description of the aggregate.- Specified by:
getDescription
in interfaceIAggregateDS
- Returns:
- (String) The description of the aggregate.
-
iterateEntityReferences
Description copied from interface:IAggregateDS
This method should iterate over all entity references that are valid in the aggregate definition and invoke the visitor for each one of them.- Specified by:
iterateEntityReferences
in interfaceIAggregateDS
- Parameters:
visitor
- The visitor that the entity references should be added to.
-
iterateMetadata
Description copied from interface:IAggregateDS
This method iterates over the metadata data sources in this aggregate data source and invokes he given visitor's process method for each one.- Specified by:
iterateMetadata
in interfaceIAggregateDS
- Parameters:
visitor
- The visitor that the metadata reference should be added to.
-
getRoles
Description copied from interface:IAggregateDS
This method returns the aggregate's roles. If no roles exists, it will return an empty array.- Specified by:
getRoles
in interfaceIAggregateDS
- Returns:
- The roles of the aggregate
-