Record Class SubmissionComment

java.lang.Object
java.lang.Record
com.avoka.tm.vo.v1.SubmissionComment
Record Components:
id - id
userLoginName - user login name
timeAdded - time added
message - message
parentId - id of parent comment
ipAddress - ip address
title - title
sessionId - 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 Details Link icon

    • SubmissionComment Link icon

      public SubmissionComment(com.avoka.fc.core.entity.SubmissionComment comment)
    • SubmissionComment Link icon

      public SubmissionComment(Long id, String userLoginName, Date timeAdded, String message, Long parentId, String ipAddress, String title, String sessionId)
      Creates an instance of a SubmissionComment record class.
      Parameters:
      id - the value for the id record component
      userLoginName - the value for the userLoginName record component
      timeAdded - the value for the timeAdded record component
      message - the value for the message record component
      parentId - the value for the parentId record component
      ipAddress - the value for the ipAddress record component
      title - the value for the title record component
      sessionId - the value for the sessionId record component
  • Method Details Link icon

    • toString Link icon

      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 Link icon

      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 Link icon

      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. All components in this record class are compared with Objects::equals(Object,Object).
      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 Link icon

      public Long id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • userLoginName Link icon

      public String userLoginName()
      Returns the value of the userLoginName record component.
      Returns:
      the value of the userLoginName record component
    • timeAdded Link icon

      public Date timeAdded()
      Returns the value of the timeAdded record component.
      Returns:
      the value of the timeAdded record component
    • message Link icon

      public String message()
      Returns the value of the message record component.
      Returns:
      the value of the message record component
    • parentId Link icon

      public Long parentId()
      Returns the value of the parentId record component.
      Returns:
      the value of the parentId record component
    • ipAddress Link icon

      public String ipAddress()
      Returns the value of the ipAddress record component.
      Returns:
      the value of the ipAddress record component
    • title Link icon

      public String title()
      Returns the value of the title record component.
      Returns:
      the value of the title record component
    • sessionId Link icon

      public String sessionId()
      Returns the value of the sessionId record component.
      Returns:
      the value of the sessionId record component