Package com.avoka.tm.vo.v1
Record Class SubmissionComment
java.lang.Object
java.lang.Record
com.avoka.tm.vo.v1.SubmissionComment
- Record Components:
id- iduserLoginName- user login nametimeAdded- time addedmessage- messageparentId- id of parent commentipAddress- ip addresstitle- titlesessionId- session id
public record SubmissionComment(Long id, String userLoginName, Date timeAdded, String message, Long parentId, String ipAddress, String title, String sessionId)
extends Record
SubmissionComment Object Model
- Since:
- 24.10.0
-
Constructor Summary
ConstructorsConstructorDescriptionSubmissionComment(com.avoka.fc.core.entity.SubmissionComment comment) SubmissionComment(Long id, String userLoginName, Date timeAdded, String message, Long parentId, String ipAddress, String title, String sessionId) Creates an instance of aSubmissionCommentrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of theipAddressrecord component.message()Returns the value of themessagerecord component.parentId()Returns the value of theparentIdrecord component.Returns the value of thesessionIdrecord component.Returns the value of thetimeAddedrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuserLoginNamerecord component.
-
Constructor Details
-
SubmissionComment
public SubmissionComment(com.avoka.fc.core.entity.SubmissionComment comment) -
SubmissionComment
public SubmissionComment(Long id, String userLoginName, Date timeAdded, String message, Long parentId, String ipAddress, String title, String sessionId) Creates an instance of aSubmissionCommentrecord class.- Parameters:
id- the value for theidrecord componentuserLoginName- the value for theuserLoginNamerecord componenttimeAdded- the value for thetimeAddedrecord componentmessage- the value for themessagerecord componentparentId- the value for theparentIdrecord componentipAddress- the value for theipAddressrecord componenttitle- the value for thetitlerecord componentsessionId- the value for thesessionIdrecord 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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
userLoginName
Returns the value of theuserLoginNamerecord component.- Returns:
- the value of the
userLoginNamerecord component
-
timeAdded
Returns the value of thetimeAddedrecord component.- Returns:
- the value of the
timeAddedrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
parentId
Returns the value of theparentIdrecord component.- Returns:
- the value of the
parentIdrecord component
-
ipAddress
Returns the value of theipAddressrecord component.- Returns:
- the value of the
ipAddressrecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-