Package com.avoka.tm.vo
Class Comment
java.lang.Object
com.avoka.tm.vo.Comment
Provide a Job or Transaction Comment value object class.
- Since:
- 21.5.0
-
Constructor Summary
ConstructorsConstructorDescriptionComment()Comment(com.avoka.fc.core.entity.JobComment jobComment) Create a comment object from job comment.Comment(com.avoka.fc.core.entity.SubmissionComment submissionComment) Create a comment object from submission comment.Create a comment object with the given arguments.Create a comment object with the given arguments.Create a unit testing Comment value object with the given fields. -
Method Summary
-
Constructor Details
-
Comment
public Comment() -
Comment
public Comment(com.avoka.fc.core.entity.SubmissionComment submissionComment) Create a comment object from submission comment.- Parameters:
submissionComment- submission comment
-
Comment
public Comment(com.avoka.fc.core.entity.JobComment jobComment) Create a comment object from job comment.- Parameters:
jobComment- the job comment
-
Comment
Create a comment object with the given arguments.- Parameters:
header- the header of the commentmessage- the message of the commentuser- the user of the comment
-
Comment
Create a comment object with the given arguments.- Parameters:
parent- the parent of the commentheader- the header of the commentmessage- the message of the commentuser- the user of the comment
-
Comment
Create a unit testing Comment value object with the given fields.- Parameters:
fields- the comment entity fields (required)
-
-
Method Details
-
toString
-
getId
The comment id (PK). -
getParent
The comment parent. -
getHeader
The comment header. -
getMessage
The comment message. -
getUser
The comment user. -
getCreatedAt
The time the comment was created. -
getUserIpAddress
The comment user ip address. -
getUserSessionId
The comment user session id.
-