Class CascadingParameterGroupHandleImpl

All Implemented Interfaces:
org.eclipse.birt.report.model.elements.interfaces.ICascadingParameterGroupModel, org.eclipse.birt.report.model.elements.interfaces.IDesignElementModel, org.eclipse.birt.report.model.elements.interfaces.IIntenalCascadingParameterGroupModel, org.eclipse.birt.report.model.elements.interfaces.IParameterGroupModel
Direct Known Subclasses:
CascadingParameterGroupHandle

public class CascadingParameterGroupHandleImpl extends ParameterGroupHandle implements org.eclipse.birt.report.model.elements.interfaces.ICascadingParameterGroupModel
Represents the group of cascading parameters. Cascading parameters are created under the group.
  • Constructor Details

    • CascadingParameterGroupHandleImpl

      public CascadingParameterGroupHandleImpl(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.elements.CascadingParameterGroup element)
      Constructs the handle for a group of cascading parameters with the given design and element.
      Parameters:
      module - the module
      element - the cascading parameter group element instance.
  • Method Details

    • getDataSet

      public DataSetHandle getDataSet()
      Returns the handle for the data set defined on the cascading parameter group.
      Returns:
      the handle to the data set
    • setDataSet

      public void setDataSet(DataSetHandle handle) throws SemanticException
      Sets the data set of the report item.
      Parameters:
      handle - the handle of the data set, if handle is null, data set property will be cleared.
      Throws:
      SemanticException - if the property is locked.
    • setDataSetMode

      public void setDataSetMode(String mode) throws SemanticException
      Sets the mode for data set support. It can be one of the following values:
      • DesignChoiceConstants.SINGLE_MODE DesignChoiceConstants.MULTIPLE_MODE
      Parameters:
      mode - either the single data set or multiple data set.
      Throws:
      SemanticException - if the input value is not one of above values.
    • getDataSetMode

      public String getDataSetMode()
      Gets the mode for data set support.
      Returns:
      the mode for data set support.
      See Also:
    • getDisplayPromptText

      public String getDisplayPromptText()
      Returns the localized text for prompt text. If the localized text for the text resource key is found, it will be returned. Otherwise, the static text will be returned.
      Returns:
      the localized text for the prompt text