Class TemplateDataSetHandle

  • All Implemented Interfaces:
    org.eclipse.birt.report.model.elements.interfaces.IDesignElementModel

    public class TemplateDataSetHandle
    extends TemplateElementHandle
    Handle for template data sets. A template data set is a place holder to generate a real data set element.
    See Also:
    TemplateElementHandle
    • Constructor Detail

      • TemplateDataSetHandle

        public TemplateDataSetHandle​(org.eclipse.birt.report.model.core.Module module,
                                     org.eclipse.birt.report.model.core.DesignElement element)
        Constructs a handle for the given design and design element. The application generally does not create handles directly. Instead, it uses one of the navigation methods available on other element handles.
        Parameters:
        module - the module
        element - the model representation of the element
    • Method Detail

      • transformToDataSet

        public void transformToDataSet​(DataSetHandle dataSetHandle)
                                throws SemanticException
        Transforms the current template data set to the given real data set.
        Parameters:
        dataSetHandle - the real data set handle to replace this template data set
        Throws:
        SemanticException - if this template data set has no template definition or some containing contexts don't match