CommentWrapper
Defined in: comment-wrapper.ts:9
Mixin providing comment functionality for domain objects.
Extended by
FullDateDistanceNumberCalendarRoundTzolkinHaabLongCountWildcardCalendarRoundWildcardFullDateWildcardLongcountOperationWildcard
Properties
comment
comment:
Comment
Defined in: comment-wrapper.ts:11
Attached comment.
Methods
appendComment()
appendComment(
comment):this
Defined in: comment-wrapper.ts:42
Append additional text to the current comment.
Parameters
comment
string | Comment
Returns
this
commentIsEqual()
commentIsEqual(
otherCommentWrapper):boolean
Defined in: comment-wrapper.ts:60
Compare this wrapper's comment against another wrapper.
Parameters
otherCommentWrapper
CommentWrapper
Returns
boolean
equalWithComment()
equalWithComment(
otherCommentWrapper):boolean
Defined in: comment-wrapper.ts:67
Check equality including the associated comment.
Parameters
otherCommentWrapper
Returns
boolean
resetComment()
resetComment():
this
Defined in: comment-wrapper.ts:20
Reset the current comment back to an empty comment.
Returns
this
setComment()
setComment(
comment):this
Defined in: comment-wrapper.ts:28
Replace the current comment.
Parameters
comment
string | Comment
Returns
this