Class ContainmentVisitor
java.lang.Object
com.aquima.interactions.composer.model.definition.ContainmentVisitor
- All Implemented Interfaces:
IContainmentVisitor
Implementation of the containment visitor interface which is used during the initialization of the (static) composer
content.
- Since:
- 5.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ContainmentVisitor
(IProject project, IParserFactory factory, ContainerDefinition definition) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addContainer
(IReferenceDS referenceDS, IContainerDS datasource) This method may be used to add an inline container to the container.void
addField
(IReferenceDS referenceDS, IFieldDS datasource) This method may be used to add a field to the container.void
addReference
(IReferenceDS datasource, String name) This method may be used to add a containment to the container.
-
Constructor Details
-
ContainmentVisitor
protected ContainmentVisitor(IProject project, IParserFactory factory, ContainerDefinition definition)
-
-
Method Details
-
addField
Description copied from interface:IContainmentVisitor
This method may be used to add a field to the container.- Specified by:
addField
in interfaceIContainmentVisitor
- Parameters:
referenceDS
- Data source providing the information about the relation.datasource
- Data source providing the field specific information.
-
addContainer
Description copied from interface:IContainmentVisitor
This method may be used to add an inline container to the container.- Specified by:
addContainer
in interfaceIContainmentVisitor
- Parameters:
referenceDS
- Data source providing the information about the relation.datasource
- Data source providing the container specific information.
-
addReference
Description copied from interface:IContainmentVisitor
This method may be used to add a containment to the container.- Specified by:
addReference
in interfaceIContainmentVisitor
- Parameters:
datasource
- Data source providing the information about the relation.name
- The name of the element that should be included as content.
-