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
ConstructorDescriptionSubmissionComment
(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 aSubmissionComment
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.Returns the value of theipAddress
record component.message()
Returns the value of themessage
record component.parentId()
Returns the value of theparentId
record component.Returns the value of thesessionId
record component.Returns the value of thetimeAdded
record component.title()
Returns the value of thetitle
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theuserLoginName
record 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 aSubmissionComment
record class.- Parameters:
id
- the value for theid
record componentuserLoginName
- the value for theuserLoginName
record componenttimeAdded
- the value for thetimeAdded
record componentmessage
- the value for themessage
record componentparentId
- the value for theparentId
record componentipAddress
- the value for theipAddress
record componenttitle
- the value for thetitle
record componentsessionId
- the value for thesessionId
record 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 theid
record component.- Returns:
- the value of the
id
record component
-
userLoginName
Returns the value of theuserLoginName
record component.- Returns:
- the value of the
userLoginName
record component
-
timeAdded
Returns the value of thetimeAdded
record component.- Returns:
- the value of the
timeAdded
record component
-
message
Returns the value of themessage
record component.- Returns:
- the value of the
message
record component
-
parentId
Returns the value of theparentId
record component.- Returns:
- the value of the
parentId
record component
-
ipAddress
Returns the value of theipAddress
record component.- Returns:
- the value of the
ipAddress
record component
-
title
Returns the value of thetitle
record component.- Returns:
- the value of the
title
record component
-
sessionId
Returns the value of thesessionId
record component.- Returns:
- the value of the
sessionId
record component
-