Record Class LogEntryData
java.lang.Object
java.lang.Record
app.valuationcontrol.multimodule.library.records.LogEntryData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.Returns the value of thechangeDaterecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefromFormularecord component.Returns the value of thefromValuerecord component.final inthashCode()Returns a hash code value for this object.longid()Returns the value of theidrecord component.Returns the value of theisModelChangerecord component.period()Returns the value of theperiodrecord component.Returns the value of thetoFormularecord component.final StringtoString()Returns a string representation of this record class.toValue()Returns the value of thetoValuerecord component.username()Returns the value of theusernamerecord component.Returns the value of thevariableIdrecord component.
-
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 aLogEntryDatarecord class.- Parameters:
id- the value for theidrecord componentaction- the value for theactionrecord componentusername- the value for theusernamerecord componentisModelChange- the value for theisModelChangerecord componentfromFormula- the value for thefromFormularecord componenttoFormula- the value for thetoFormularecord componentfromValue- the value for thefromValuerecord componenttoValue- the value for thetoValuerecord componentchangeDate- the value for thechangeDaterecord componentperiod- the value for theperiodrecord componentvariableId- the value for thevariableIdrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
id
public long id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
action
Returns the value of theactionrecord component.- Returns:
- the value of the
actionrecord component
-
username
Returns the value of theusernamerecord component.- Returns:
- the value of the
usernamerecord component
-
isModelChange
Returns the value of theisModelChangerecord component.- Returns:
- the value of the
isModelChangerecord component
-
fromFormula
Returns the value of thefromFormularecord component.- Returns:
- the value of the
fromFormularecord component
-
toFormula
Returns the value of thetoFormularecord component.- Returns:
- the value of the
toFormularecord component
-
fromValue
Returns the value of thefromValuerecord component.- Returns:
- the value of the
fromValuerecord component
-
toValue
Returns the value of thetoValuerecord component.- Returns:
- the value of the
toValuerecord component
-
changeDate
Returns the value of thechangeDaterecord component.- Returns:
- the value of the
changeDaterecord component
-
period
Returns the value of theperiodrecord component.- Returns:
- the value of the
periodrecord component
-
variableId
Returns the value of thevariableIdrecord component.- Returns:
- the value of the
variableIdrecord component
-