Class JRBaseDatasetRun

    • Field Detail

      • uuid

        protected java.util.UUID uuid
      • datasetName

        protected java.lang.String datasetName
      • parametersMapExpression

        protected JRExpression parametersMapExpression
      • connectionExpression

        protected JRExpression connectionExpression
      • dataSourceExpression

        protected JRExpression dataSourceExpression
      • returnValues

        protected java.util.List<ReturnValue> returnValues
    • Constructor Detail

      • JRBaseDatasetRun

        protected JRBaseDatasetRun()
        Creates an empty object.
      • JRBaseDatasetRun

        protected JRBaseDatasetRun​(JRDatasetRun datasetRun,
                                   JRBaseObjectFactory factory)
        Creates a copy of a dataset instantiation.
        Parameters:
        datasetRun - the dataset instantiation
        factory - the base object factory
    • Method Detail

      • getDatasetName

        public java.lang.String getDatasetName()
        Description copied from interface: JRDatasetRun
        Returns the sub dataset name.
        Specified by:
        getDatasetName in interface JRDatasetRun
        Returns:
        the sub dataset name
      • getParametersMapExpression

        public JRExpression getParametersMapExpression()
        Description copied from interface: JRDatasetRun
        Returns the parameters map expression.

        The result of this expression is used as the parameters map when instantiating the dataset.

        Specified by:
        getParametersMapExpression in interface JRDatasetRun
        Returns:
        the parameters map expression
      • getConnectionExpression

        public JRExpression getConnectionExpression()
        Description copied from interface: JRDatasetRun
        Returns the DB connection expression.

        The result of this expression is used as the DB connection when instantiating the dataset.

        Specified by:
        getConnectionExpression in interface JRDatasetRun
        Returns:
        the DB connection expression
      • getDataSourceExpression

        public JRExpression getDataSourceExpression()
        Description copied from interface: JRDatasetRun
        Returns the data source expression.

        The result of this expression is used as the data source when instantiating the dataset.

        Specified by:
        getDataSourceExpression in interface JRDatasetRun
        Returns:
        the data source expression
      • getReturnValues

        public java.util.List<ReturnValue> getReturnValues()
        Description copied from interface: JRDatasetRun
        Returns the list of values to be copied from the subdataset.
        Specified by:
        getReturnValues in interface JRDatasetRun
        Returns:
        the list of copied values.
      • clone

        public java.lang.Object clone()
        Specified by:
        clone in interface JRCloneable
        Overrides:
        clone in class java.lang.Object
      • hasProperties

        public boolean hasProperties()
        Description copied from interface: JRPropertiesHolder
        Checks whether the object has any properties.
        Specified by:
        hasProperties in interface JRPropertiesHolder
        Returns:
        whether the object has any properties