Class DataField
java.lang.Object
com.inet.report.adhoc.server.api.renderer.AbstractColumn
com.inet.report.adhoc.server.api.renderer.AbstractFormatableColumn
com.inet.report.adhoc.server.api.renderer.chart.model.DataField
@JsonData
public class DataField
extends com.inet.report.adhoc.server.api.renderer.AbstractFormatableColumn
Description of single data field.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inet.report.adhoc.server.api.renderer.AbstractFormatableColumn
com.inet.report.adhoc.server.api.renderer.AbstractFormatableColumn.ValueFormat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nonnull com.inet.report.adhoc.server.api.renderer.SummaryOperation
Returns ID representing summary operation, which should be applied.Methods inherited from class com.inet.report.adhoc.server.api.renderer.AbstractFormatableColumn
getValueFormat
Methods inherited from class com.inet.report.adhoc.server.api.renderer.AbstractColumn
getColumnKey
-
Constructor Details
-
DataField
public DataField(@Nonnull @Nonnull String fieldKey, @Nonnull @Nonnull com.inet.report.adhoc.server.api.renderer.SummaryOperation sumOperation, @Nonnull @Nonnull com.inet.report.adhoc.server.api.renderer.AbstractFormatableColumn.ValueFormat valueFormat) Creates instance.- Parameters:
fieldKey
- key of the field.sumOperation
- summary operation, which should be applied.valueFormat
- the format of the value- Since:
- 25.4
-
-
Method Details
-
getSummaryOperation
@Nonnull public @Nonnull com.inet.report.adhoc.server.api.renderer.SummaryOperation getSummaryOperation()Returns ID representing summary operation, which should be applied.- Returns:
- ID representing summary operation, which should be applied.
- Since:
- 25.4
-