public class PaperDocumentLogInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
docId |
protected java.lang.String |
docTitle |
Constructor and Description |
---|
PaperDocumentLogInfo(java.lang.String docId,
java.lang.String docTitle)
Paper document's logged information.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDocId()
Papers document Id.
|
java.lang.String |
getDocTitle()
Paper document title.
|
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 docId
protected final java.lang.String docTitle
public PaperDocumentLogInfo(java.lang.String docId, java.lang.String docTitle)
docId
- Papers document Id. Must not be null
.docTitle
- Paper document title. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getDocId()
null
.public java.lang.String getDocTitle()
null
.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.