Record Class ExtensionGraphDto
java.lang.Object
java.lang.Record
com.djrapitops.plan.delivery.domain.datatransfer.extension.ExtensionGraphDto
public record ExtensionGraphDto(int providerId, String graphTableName, String displayName, XAxisType xAxisType, Integer xAxisSoftMin, Integer xAxisSoftMax, int yAxisSoftMin, int yAxisSoftMax, int columnCount, List<String> seriesLabels, List<String> unitNames, List<GraphFormatType> valueFormats, List<String> seriesColors, boolean supportsStacking, List<Number[]> dataPoints)
extends Record
Represents extension graph point data and metadata for displaying a spline graph.
-
Constructor Summary
ConstructorsConstructorDescriptionExtensionGraphDto(int providerId, String graphTableName, String displayName, XAxisType xAxisType, int xAxisSoftMin, int xAxisSoftMax, int yAxisSoftMin, int yAxisSoftMax, int columnCount, boolean supportsStacking) ExtensionGraphDto(int providerId, String graphTableName, String displayName, XAxisType xAxisType, Integer xAxisSoftMin, Integer xAxisSoftMax, int yAxisSoftMin, int yAxisSoftMax, int columnCount, List<String> seriesLabels, List<String> unitNames, List<GraphFormatType> valueFormats, List<String> seriesColors, boolean supportsStacking, List<Number[]> dataPoints) Creates an instance of aExtensionGraphDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thecolumnCountrecord component.Returns the value of thedataPointsrecord component.Returns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegraphTableNamerecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of theproviderIdrecord component.Returns the value of theseriesColorsrecord component.Returns the value of theseriesLabelsrecord component.booleanReturns the value of thesupportsStackingrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theunitNamesrecord component.Returns the value of thevalueFormatsrecord component.Returns the value of thexAxisSoftMaxrecord component.Returns the value of thexAxisSoftMinrecord component.Returns the value of thexAxisTyperecord component.intReturns the value of theyAxisSoftMaxrecord component.intReturns the value of theyAxisSoftMinrecord component.
-
Constructor Details
-
ExtensionGraphDto
-
ExtensionGraphDto
public ExtensionGraphDto(int providerId, String graphTableName, String displayName, XAxisType xAxisType, Integer xAxisSoftMin, Integer xAxisSoftMax, int yAxisSoftMin, int yAxisSoftMax, int columnCount, List<String> seriesLabels, List<String> unitNames, List<GraphFormatType> valueFormats, List<String> seriesColors, boolean supportsStacking, List<Number[]> dataPoints) Creates an instance of aExtensionGraphDtorecord class.- Parameters:
providerId- the value for theproviderIdrecord componentgraphTableName- the value for thegraphTableNamerecord componentdisplayName- the value for thedisplayNamerecord componentxAxisType- the value for thexAxisTyperecord componentxAxisSoftMin- the value for thexAxisSoftMinrecord componentxAxisSoftMax- the value for thexAxisSoftMaxrecord componentyAxisSoftMin- the value for theyAxisSoftMinrecord componentyAxisSoftMax- the value for theyAxisSoftMaxrecord componentcolumnCount- the value for thecolumnCountrecord componentseriesLabels- the value for theseriesLabelsrecord componentunitNames- the value for theunitNamesrecord componentvalueFormats- the value for thevalueFormatsrecord componentseriesColors- the value for theseriesColorsrecord componentsupportsStacking- the value for thesupportsStackingrecord componentdataPoints- the value for thedataPointsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
providerId
public int providerId()Returns the value of theproviderIdrecord component.- Returns:
- the value of the
providerIdrecord component
-
graphTableName
Returns the value of thegraphTableNamerecord component.- Returns:
- the value of the
graphTableNamerecord component
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
xAxisType
Returns the value of thexAxisTyperecord component.- Returns:
- the value of the
xAxisTyperecord component
-
xAxisSoftMin
Returns the value of thexAxisSoftMinrecord component.- Returns:
- the value of the
xAxisSoftMinrecord component
-
xAxisSoftMax
Returns the value of thexAxisSoftMaxrecord component.- Returns:
- the value of the
xAxisSoftMaxrecord component
-
yAxisSoftMin
public int yAxisSoftMin()Returns the value of theyAxisSoftMinrecord component.- Returns:
- the value of the
yAxisSoftMinrecord component
-
yAxisSoftMax
public int yAxisSoftMax()Returns the value of theyAxisSoftMaxrecord component.- Returns:
- the value of the
yAxisSoftMaxrecord component
-
columnCount
public int columnCount()Returns the value of thecolumnCountrecord component.- Returns:
- the value of the
columnCountrecord component
-
seriesLabels
-
unitNames
-
valueFormats
Returns the value of thevalueFormatsrecord component.- Returns:
- the value of the
valueFormatsrecord component
-
seriesColors
-
supportsStacking
public boolean supportsStacking()Returns the value of thesupportsStackingrecord component.- Returns:
- the value of the
supportsStackingrecord component
-
dataPoints
-