Class JRDesignValueDataset

    • Field Detail

      • PROPERTY_VALUE_EXPRESSION

        public static final java.lang.String PROPERTY_VALUE_EXPRESSION
        See Also:
        Constant Field Values
      • valueExpression

        protected JRExpression valueExpression
        The expression that returns the single value contained in this dataset.
    • Constructor Detail

      • JRDesignValueDataset

        public JRDesignValueDataset​(JRChartDataset dataset)
        Construct a new dataset that is a copy of an existing one.
        Parameters:
        dataset - the dataset to copy
    • Method Detail

      • getValueExpression

        public JRExpression getValueExpression()
        Description copied from interface: JRValueDataset
        Returns the expression that indicates the value held by this dataset.
        Specified by:
        getValueExpression in interface JRValueDataset
        Returns:
        the expression that indicates the value held by this dataset
      • setValueExpression

        public void setValueExpression​(JRExpression valueExpression)
        Sets the expression that indicates the value held by this dataset.
        Parameters:
        valueExpression - the expression that returns the value held by this dataset
      • validate

        public void validate​(JRVerifier verifier)
        Description copied from interface: JRChartDataset
        Validates the dataset using a verifier.

        Broken rules are collected by the verifier.

        Specified by:
        validate in interface JRChartDataset
        Parameters:
        verifier - the verifier to use for validation