public class PaperDocEditCommentDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
commentText |
protected java.lang.String |
eventUuid |
Constructor and Description |
---|
PaperDocEditCommentDetails(java.lang.String eventUuid)
Edited Paper doc comment.
|
PaperDocEditCommentDetails(java.lang.String eventUuid,
java.lang.String commentText)
Edited Paper doc comment.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCommentText()
Comment text.
|
java.lang.String |
getEventUuid()
Event unique identifier.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.lang.String eventUuid
protected final java.lang.String commentText
public PaperDocEditCommentDetails(java.lang.String eventUuid, java.lang.String commentText)
eventUuid
- Event unique identifier. Must not be null
.commentText
- Comment text. Might be missing due to historical data
gap.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public PaperDocEditCommentDetails(java.lang.String eventUuid)
The default values for unset fields will be used.
eventUuid
- Event unique identifier. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getEventUuid()
null
.public java.lang.String getCommentText()
null
if not present.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.