Class XmlEntityReferenceDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.metamodel.ds.xml.r17.parsing.XmlEntityReferenceDS
- All Implemented Interfaces:
IReportingDS
,IEntityReferenceDS
A data source for an entity reference which reads the data from an XML node.
- Author:
- voicu
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
XmlEntityReferenceDS
(IInitializationReport report, IXmlNode node) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the name of the referred entity definition.boolean
Indicates whether the entity reference is a root in an aggregate.void
Iterates over all relations excluded from the entity reference and invoke the visitor 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
-
XmlEntityReferenceDS
-
-
Method Details
-
getEntityName
Description copied from interface:IEntityReferenceDS
This method returns the name of the referred entity definition.- Specified by:
getEntityName
in interfaceIEntityReferenceDS
- Returns:
- The entity name.
-
isRootEntity
public boolean isRootEntity()Description copied from interface:IEntityReferenceDS
Indicates whether the entity reference is a root in an aggregate. An entity reference is a root entity if it is explicitly included in the aggregate.- Specified by:
isRootEntity
in interfaceIEntityReferenceDS
- Returns:
- true if the referred entity is a root entity in the aggregate, false otherwise.
-
iterateExcludedRelations
Description copied from interface:IEntityReferenceDS
Iterates over all relations excluded from the entity reference and invoke the visitor for each one.- Specified by:
iterateExcludedRelations
in interfaceIEntityReferenceDS
- Parameters:
visitor
- the visitor which should be invoked for each excluded relation
-