/** * <p>getVariable.</p> * * @return a {@link net.sf.dynamicreports.report.base.DRVariable} object. */ public DRVariable<T> getVariable() { return build(); }
/** * <p>setYValue.</p> * * @param variable a {@link net.sf.dynamicreports.report.builder.VariableBuilder} object. * @return a {@link net.sf.dynamicreports.report.builder.chart.XyChartSerieBuilder} object. */ public XyChartSerieBuilder setYValue(VariableBuilder<? extends Number> variable) { Validate.notNull(variable, "variable must not be null"); getObject().setYValueExpression(variable.build()); return this; }
/** * <p>setClose.</p> * * @param variable a {@link net.sf.dynamicreports.report.builder.VariableBuilder} object. * @return a T object. */ public T setClose(VariableBuilder<? extends Number> variable) { Validate.notNull(variable, "variable must not be null"); getDataset().setCloseExpression(variable.build()); return (T) this; }
/** * <p>setGroup.</p> * * @param variable a {@link net.sf.dynamicreports.report.builder.VariableBuilder} object. * @return a {@link net.sf.dynamicreports.report.builder.chart.GroupedCategoryChartSerieBuilder} object. */ public GroupedCategoryChartSerieBuilder setGroup(VariableBuilder<String> variable) { Validate.notNull(variable, "variable must not be null"); getObject().setGroupExpression(variable.build()); return this; } }
/** * <p>setPercent.</p> * * @param variable a {@link net.sf.dynamicreports.report.builder.VariableBuilder} object. * @return a {@link net.sf.dynamicreports.report.builder.chart.GanttChartSerieBuilder} object. */ public GanttChartSerieBuilder setPercent(VariableBuilder<? extends Number> variable) { Validate.notNull(variable, "variable must not be null"); getObject().setPercentExpression(variable.build()); return this; }
/** * <p>setYValue.</p> * * @param variable a {@link net.sf.dynamicreports.report.builder.VariableBuilder} object. * @return a {@link net.sf.dynamicreports.report.builder.chart.XyzChartSerieBuilder} object. */ public XyzChartSerieBuilder setYValue(VariableBuilder<? extends Number> variable) { Validate.notNull(variable, "variable must not be null"); getObject().setYValueExpression(variable.build()); return this; }
/** * <p>setZValue.</p> * * @param variable a {@link net.sf.dynamicreports.report.builder.VariableBuilder} object. * @return a {@link net.sf.dynamicreports.report.builder.chart.XyzChartSerieBuilder} object. */ public XyzChartSerieBuilder setZValue(VariableBuilder<? extends Number> variable) { Validate.notNull(variable, "variable must not be null"); getObject().setZValueExpression(variable.build()); return this; }
/** * <p>setXValue.</p> * * @param variable a {@link net.sf.dynamicreports.report.builder.VariableBuilder} object. * @return a {@link net.sf.dynamicreports.report.builder.chart.XyChartSerieBuilder} object. */ public XyChartSerieBuilder setXValue(VariableBuilder<? extends Number> variable) { Validate.notNull(variable, "variable must not be null"); getObject().setXValueExpression(variable.build()); return this; }
/** * <p>setVolume.</p> * * @param variable a {@link net.sf.dynamicreports.report.builder.VariableBuilder} object. * @return a T object. */ public T setVolume(VariableBuilder<? extends Number> variable) { Validate.notNull(variable, "variable must not be null"); getDataset().setVolumeExpression(variable.build()); return (T) this; }
/** * <p>setValue.</p> * * @param variable a {@link net.sf.dynamicreports.report.builder.VariableBuilder} object. * @return a {@link net.sf.dynamicreports.googlecharts.report.geomap.GeoMapBuilder} object. */ public GeoMapBuilder setValue(VariableBuilder<? extends Number> variable) { Validate.notNull(variable, "variable must not be null"); getDataset().setValueExpression(variable.build()); return this; }
/** * <p>Constructor for AbstractCategoryChartSerieBuilder.</p> * * @param categoryChartSerie a U object. * @param variable a {@link net.sf.dynamicreports.report.builder.VariableBuilder} object. */ protected AbstractCategoryChartSerieBuilder(U categoryChartSerie, VariableBuilder<? extends Number> variable) { super(categoryChartSerie); Validate.notNull(variable, "variable must not be null"); getObject().setValueExpression(variable.build()); }
/** * <p>setXValue.</p> * * @param variable a {@link net.sf.dynamicreports.report.builder.VariableBuilder} object. * @return a {@link net.sf.dynamicreports.report.builder.chart.XyzChartSerieBuilder} object. */ public XyzChartSerieBuilder setXValue(VariableBuilder<? extends Number> variable) { Validate.notNull(variable, "variable must not be null"); getObject().setXValueExpression(variable.build()); return this; }
/** * <p>setHigh.</p> * * @param variable a {@link net.sf.dynamicreports.report.builder.VariableBuilder} object. * @return a T object. */ public T setHigh(VariableBuilder<? extends Number> variable) { Validate.notNull(variable, "variable must not be null"); getDataset().setHighExpression(variable.build()); return (T) this; }
/** * <p>setLow.</p> * * @param variable a {@link net.sf.dynamicreports.report.builder.VariableBuilder} object. * @return a T object. */ public T setLow(VariableBuilder<? extends Number> variable) { Validate.notNull(variable, "variable must not be null"); getDataset().setLowExpression(variable.build()); return (T) this; }
/** * <p>setOpen.</p> * * @param variable a {@link net.sf.dynamicreports.report.builder.VariableBuilder} object. * @return a T object. */ public T setOpen(VariableBuilder<? extends Number> variable) { Validate.notNull(variable, "variable must not be null"); getDataset().setOpenExpression(variable.build()); return (T) this; }
/** * <p>Constructor for SortBuilder.</p> * * @param variable a {@link net.sf.dynamicreports.report.builder.VariableBuilder} object. */ protected SortBuilder(VariableBuilder<?> variable) { super(new DRSort()); Validate.notNull(variable, "variable must not be null"); getObject().setExpression(variable.build()); }