Record Class ModelGraphData
java.lang.Object
java.lang.Record
app.valuationcontrol.multimodule.library.records.ModelGraphData
public record ModelGraphData(Long graphId, @NotEmpty @NotNull String graphName, String graphDescription, Long graphVariable1Id, Long graphVariable2Id, Long graphVariable3Id, String graphVariable1Type, String graphVariable2Type, String graphVariable3Type, String graphVariable1Axis, String graphVariable2Axis, String graphVariable3Axis, Boolean graphIncludeHistoricals)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionModelGraphData(Long graphId, @NotEmpty @NotNull String graphName, String graphDescription, Long graphVariable1Id, Long graphVariable2Id, Long graphVariable3Id, String graphVariable1Type, String graphVariable2Type, String graphVariable3Type, String graphVariable1Axis, String graphVariable2Axis, String graphVariable3Axis, Boolean graphIncludeHistoricals) Creates an instance of aModelGraphDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thegraphDescriptionrecord component.graphId()Returns the value of thegraphIdrecord component.Returns the value of thegraphIncludeHistoricalsrecord component.@NotEmpty @NotNull StringReturns the value of thegraphNamerecord component.Returns the value of thegraphVariable1Axisrecord component.Returns the value of thegraphVariable1Idrecord component.Returns the value of thegraphVariable1Typerecord component.Returns the value of thegraphVariable2Axisrecord component.Returns the value of thegraphVariable2Idrecord component.Returns the value of thegraphVariable2Typerecord component.Returns the value of thegraphVariable3Axisrecord component.Returns the value of thegraphVariable3Idrecord component.Returns the value of thegraphVariable3Typerecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ModelGraphData
public ModelGraphData(Long graphId, @NotEmpty @NotNull @NotEmpty @NotNull String graphName, String graphDescription, Long graphVariable1Id, Long graphVariable2Id, Long graphVariable3Id, String graphVariable1Type, String graphVariable2Type, String graphVariable3Type, String graphVariable1Axis, String graphVariable2Axis, String graphVariable3Axis, Boolean graphIncludeHistoricals) Creates an instance of aModelGraphDatarecord class.- Parameters:
graphId- the value for thegraphIdrecord componentgraphName- the value for thegraphNamerecord componentgraphDescription- the value for thegraphDescriptionrecord componentgraphVariable1Id- the value for thegraphVariable1Idrecord componentgraphVariable2Id- the value for thegraphVariable2Idrecord componentgraphVariable3Id- the value for thegraphVariable3Idrecord componentgraphVariable1Type- the value for thegraphVariable1Typerecord componentgraphVariable2Type- the value for thegraphVariable2Typerecord componentgraphVariable3Type- the value for thegraphVariable3Typerecord componentgraphVariable1Axis- the value for thegraphVariable1Axisrecord componentgraphVariable2Axis- the value for thegraphVariable2Axisrecord componentgraphVariable3Axis- the value for thegraphVariable3Axisrecord componentgraphIncludeHistoricals- the value for thegraphIncludeHistoricalsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. All components in this record class are compared withObjects::equals(Object,Object). -
graphId
Returns the value of thegraphIdrecord component.- Returns:
- the value of the
graphIdrecord component
-
graphName
Returns the value of thegraphNamerecord component.- Returns:
- the value of the
graphNamerecord component
-
graphDescription
Returns the value of thegraphDescriptionrecord component.- Returns:
- the value of the
graphDescriptionrecord component
-
graphVariable1Id
Returns the value of thegraphVariable1Idrecord component.- Returns:
- the value of the
graphVariable1Idrecord component
-
graphVariable2Id
Returns the value of thegraphVariable2Idrecord component.- Returns:
- the value of the
graphVariable2Idrecord component
-
graphVariable3Id
Returns the value of thegraphVariable3Idrecord component.- Returns:
- the value of the
graphVariable3Idrecord component
-
graphVariable1Type
Returns the value of thegraphVariable1Typerecord component.- Returns:
- the value of the
graphVariable1Typerecord component
-
graphVariable2Type
Returns the value of thegraphVariable2Typerecord component.- Returns:
- the value of the
graphVariable2Typerecord component
-
graphVariable3Type
Returns the value of thegraphVariable3Typerecord component.- Returns:
- the value of the
graphVariable3Typerecord component
-
graphVariable1Axis
Returns the value of thegraphVariable1Axisrecord component.- Returns:
- the value of the
graphVariable1Axisrecord component
-
graphVariable2Axis
Returns the value of thegraphVariable2Axisrecord component.- Returns:
- the value of the
graphVariable2Axisrecord component
-
graphVariable3Axis
Returns the value of thegraphVariable3Axisrecord component.- Returns:
- the value of the
graphVariable3Axisrecord component
-
graphIncludeHistoricals
Returns the value of thegraphIncludeHistoricalsrecord component.- Returns:
- the value of the
graphIncludeHistoricalsrecord component
-