Record Class UpdateTimeEntry
java.lang.Object
java.lang.Record
ch.martinelli.mite4java.api.UpdateTimeEntry
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final record -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateTimeEntry.Builderbuilder()dateAt()Returns the value of thedateAtrecord component.final booleanIndicates whether some other object is "equal to" this one.force()Returns the value of theforcerecord component.final inthashCode()Returns a hash code value for this object.locked()Returns the value of thelockedrecord component.minutes()Returns the value of theminutesrecord component.note()Returns the value of thenoterecord component.Returns the value of theprojectIdrecord component.Returns the value of theserviceIdrecord component.Returns the value of thestartedTimerecord component.final StringtoString()Returns a string representation of this record class.userId()Returns the value of theuserIdrecord component.
-
Constructor Details
-
UpdateTimeEntry
public UpdateTimeEntry(LocalDate dateAt, Integer minutes, String note, Integer userId, Integer projectId, Integer serviceId, Boolean locked, Boolean force, Integer startedTime) Creates an instance of aUpdateTimeEntryrecord class.- Parameters:
dateAt- the value for thedateAtrecord componentminutes- the value for theminutesrecord componentnote- the value for thenoterecord componentuserId- the value for theuserIdrecord componentprojectId- the value for theprojectIdrecord componentserviceId- the value for theserviceIdrecord componentlocked- the value for thelockedrecord componentforce- the value for theforcerecord componentstartedTime- the value for thestartedTimerecord component
-
-
Method Details
-
builder
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
dateAt
Returns the value of thedateAtrecord component.- Returns:
- the value of the
dateAtrecord component
-
minutes
Returns the value of theminutesrecord component.- Returns:
- the value of the
minutesrecord component
-
note
Returns the value of thenoterecord component.- Returns:
- the value of the
noterecord component
-
userId
Returns the value of theuserIdrecord component.- Returns:
- the value of the
userIdrecord component
-
projectId
Returns the value of theprojectIdrecord component.- Returns:
- the value of the
projectIdrecord component
-
serviceId
Returns the value of theserviceIdrecord component.- Returns:
- the value of the
serviceIdrecord component
-
locked
Returns the value of thelockedrecord component.- Returns:
- the value of the
lockedrecord component
-
force
Returns the value of theforcerecord component.- Returns:
- the value of the
forcerecord component
-
startedTime
Returns the value of thestartedTimerecord component.- Returns:
- the value of the
startedTimerecord component
-