Class ContainmentVisitor

java.lang.Object
com.aquima.interactions.composer.model.definition.ContainmentVisitor
All Implemented Interfaces:
IContainmentVisitor

public class ContainmentVisitor extends Object implements 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 Details

  • Method Details

    • addField

      public void addField(IReferenceDS referenceDS, IFieldDS datasource)
      Description copied from interface: IContainmentVisitor
      This method may be used to add a field to the container.
      Specified by:
      addField in interface IContainmentVisitor
      Parameters:
      referenceDS - Data source providing the information about the relation.
      datasource - Data source providing the field specific information.
    • addContainer

      public void addContainer(IReferenceDS referenceDS, IContainerDS datasource)
      Description copied from interface: IContainmentVisitor
      This method may be used to add an inline container to the container.
      Specified by:
      addContainer in interface IContainmentVisitor
      Parameters:
      referenceDS - Data source providing the information about the relation.
      datasource - Data source providing the container specific information.
    • addReference

      public void addReference(IReferenceDS datasource, String name)
      Description copied from interface: IContainmentVisitor
      This method may be used to add a containment to the container.
      Specified by:
      addReference in interface IContainmentVisitor
      Parameters:
      datasource - Data source providing the information about the relation.
      name - The name of the element that should be included as content.