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 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 a ModelGraphData record class.
      Parameters:
      graphId - the value for the graphId record component
      graphName - the value for the graphName record component
      graphDescription - the value for the graphDescription record component
      graphVariable1Id - the value for the graphVariable1Id record component
      graphVariable2Id - the value for the graphVariable2Id record component
      graphVariable3Id - the value for the graphVariable3Id record component
      graphVariable1Type - the value for the graphVariable1Type record component
      graphVariable2Type - the value for the graphVariable2Type record component
      graphVariable3Type - the value for the graphVariable3Type record component
      graphVariable1Axis - the value for the graphVariable1Axis record component
      graphVariable2Axis - the value for the graphVariable2Axis record component
      graphVariable3Axis - the value for the graphVariable3Axis record component
      graphIncludeHistoricals - the value for the graphIncludeHistoricals record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • graphId

      public Long graphId()
      Returns the value of the graphId record component.
      Returns:
      the value of the graphId record component
    • graphName

      @NotEmpty @NotNull public @NotEmpty @NotNull String graphName()
      Returns the value of the graphName record component.
      Returns:
      the value of the graphName record component
    • graphDescription

      public String graphDescription()
      Returns the value of the graphDescription record component.
      Returns:
      the value of the graphDescription record component
    • graphVariable1Id

      public Long graphVariable1Id()
      Returns the value of the graphVariable1Id record component.
      Returns:
      the value of the graphVariable1Id record component
    • graphVariable2Id

      public Long graphVariable2Id()
      Returns the value of the graphVariable2Id record component.
      Returns:
      the value of the graphVariable2Id record component
    • graphVariable3Id

      public Long graphVariable3Id()
      Returns the value of the graphVariable3Id record component.
      Returns:
      the value of the graphVariable3Id record component
    • graphVariable1Type

      public String graphVariable1Type()
      Returns the value of the graphVariable1Type record component.
      Returns:
      the value of the graphVariable1Type record component
    • graphVariable2Type

      public String graphVariable2Type()
      Returns the value of the graphVariable2Type record component.
      Returns:
      the value of the graphVariable2Type record component
    • graphVariable3Type

      public String graphVariable3Type()
      Returns the value of the graphVariable3Type record component.
      Returns:
      the value of the graphVariable3Type record component
    • graphVariable1Axis

      public String graphVariable1Axis()
      Returns the value of the graphVariable1Axis record component.
      Returns:
      the value of the graphVariable1Axis record component
    • graphVariable2Axis

      public String graphVariable2Axis()
      Returns the value of the graphVariable2Axis record component.
      Returns:
      the value of the graphVariable2Axis record component
    • graphVariable3Axis

      public String graphVariable3Axis()
      Returns the value of the graphVariable3Axis record component.
      Returns:
      the value of the graphVariable3Axis record component
    • graphIncludeHistoricals

      public Boolean graphIncludeHistoricals()
      Returns the value of the graphIncludeHistoricals record component.
      Returns:
      the value of the graphIncludeHistoricals record component