Class TemplateTool

All Implemented Interfaces:
ITool, IVariable, Serializable, Cloneable

@OpenApiAll public class TemplateTool extends TemplateTool
Additional features for template tool.
See Also:
  • Constructor Details

    • TemplateTool

      public TemplateTool()
      Default constructor.
    • TemplateTool

      public TemplateTool(com.nomagic.magicdraw.magicreport.ui.bean.TemplateBean templateBean)
      Create a tool with information from template bean.
      Parameters:
      templateBean - template bean
  • Method Details

    • getDescription

      public String getDescription()
      Gets description.
      Returns:
      the description
    • getCategory

      public String getCategory()
      Gets category name.
      Returns:
      the category name
    • getSelectedReportData

      public String getSelectedReportData()
      Gets selected report data name.
      Returns:
      the selected report data name
    • getReportData

      public com.nomagic.magicdraw.magicreport.ui.bean.ReportBean getReportData()
      Gets selected report data.
      Returns:
      the selected report data
    • setReportDataVariableMap

      public void setReportDataVariableMap(Map<String,Object> reportDataVariableMap)
      Set report data variable map
      Parameters:
      reportDataVariableMap - map of report data variable
    • getReportDataVariables

      public List<com.nomagic.magicdraw.magicreport.tools.ReportDataVariable> getReportDataVariables()
      Get all report data variable as list of ReportDataVariable
      Returns:
      list of ReportDataVariable