Record Class LogEntryData

java.lang.Object
java.lang.Record
app.valuationcontrol.multimodule.library.records.LogEntryData

public record LogEntryData(long id, String action, String username, Boolean isModelChange, String fromFormula, String toFormula, Float fromValue, Float toValue, LocalDateTime changeDate, Integer period, Long variableId) extends Record
  • Constructor Details

    • LogEntryData

      public LogEntryData(long id, String action, String username, Boolean isModelChange, String fromFormula, String toFormula, Float fromValue, Float toValue, LocalDateTime changeDate, Integer period, Long variableId)
      Creates an instance of a LogEntryData record class.
      Parameters:
      id - the value for the id record component
      action - the value for the action record component
      username - the value for the username record component
      isModelChange - the value for the isModelChange record component
      fromFormula - the value for the fromFormula record component
      toFormula - the value for the toFormula record component
      fromValue - the value for the fromValue record component
      toValue - the value for the toValue record component
      changeDate - the value for the changeDate record component
      period - the value for the period record component
      variableId - the value for the variableId 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • id

      public long id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • action

      public String action()
      Returns the value of the action record component.
      Returns:
      the value of the action record component
    • username

      public String username()
      Returns the value of the username record component.
      Returns:
      the value of the username record component
    • isModelChange

      public Boolean isModelChange()
      Returns the value of the isModelChange record component.
      Returns:
      the value of the isModelChange record component
    • fromFormula

      public String fromFormula()
      Returns the value of the fromFormula record component.
      Returns:
      the value of the fromFormula record component
    • toFormula

      public String toFormula()
      Returns the value of the toFormula record component.
      Returns:
      the value of the toFormula record component
    • fromValue

      public Float fromValue()
      Returns the value of the fromValue record component.
      Returns:
      the value of the fromValue record component
    • toValue

      public Float toValue()
      Returns the value of the toValue record component.
      Returns:
      the value of the toValue record component
    • changeDate

      public LocalDateTime changeDate()
      Returns the value of the changeDate record component.
      Returns:
      the value of the changeDate record component
    • period

      public Integer period()
      Returns the value of the period record component.
      Returns:
      the value of the period record component
    • variableId

      public Long variableId()
      Returns the value of the variableId record component.
      Returns:
      the value of the variableId record component