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 SummaryConstructorsConstructorDescriptionComment()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- 
Commentpublic Comment()
- 
Commentpublic Comment(com.avoka.fc.core.entity.SubmissionComment submissionComment) Create a comment object from submission comment.- Parameters:
- submissionComment- submission comment
 
- 
Commentpublic Comment(com.avoka.fc.core.entity.JobComment jobComment) Create a comment object from job comment.- Parameters:
- jobComment- the job comment
 
- 
CommentCreate a comment object with the given arguments.- Parameters:
- header- the header of the comment
- message- the message of the comment
- user- the user of the comment
 
- 
CommentCreate a comment object with the given arguments.- Parameters:
- parent- the parent of the comment
- header- the header of the comment
- message- the message of the comment
- user- the user of the comment
 
- 
CommentCreate a unit testing Comment value object with the given fields.- Parameters:
- fields- the comment entity fields (required)
 
 
- 
- 
Method Details- 
toString
- 
getIdThe comment id (PK).
- 
getParentThe comment parent.
- 
getHeaderThe comment header.
- 
getMessageThe comment message.
- 
getUserThe comment user.
- 
getCreatedAtThe time the comment was created.
- 
getUserIpAddressThe comment user ip address.
- 
getUserSessionIdThe comment user session id.
 
-