public class Comment extends Referenceable
| Modifier and Type | Field and Description |
|---|---|
protected String |
commentText |
protected CommentType |
commentType |
protected boolean |
isPublic |
protected String |
user |
additionalProperties, confidenceGovernanceClassification, confidentialityGovernanceClassification, criticalityGovernanceClassification, latestChange, latestChangeDetails, meanings, qualifiedName, retentionGovernanceClassification, searchKeywords, securityTagsclassifications, extendedProperties, guid, type, urlCURRENT_AUDIT_HEADER_VERSION| Constructor and Description |
|---|
Comment()
Default constructor
|
Comment(Comment template)
Copy/clone constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
String |
getCommentText()
Return the comment text.
|
CommentType |
getCommentType()
Return an enum that describes the type of comment.
|
boolean |
getIsPublic()
Return if this like is private ot the creating user.
|
String |
getUser()
Return the user id of the person who created the comment.
|
void |
setCommentText(String commentText)
Set up the comment text.
|
void |
setCommentType(CommentType commentType)
Set up the enum that describes the type of comment.
|
void |
setIsPublic(boolean aPublic)
Set up whether the like is private to the creating user or not.
|
void |
setUser(String user)
Set up the user id of the person who created the comment.
|
String |
toString()
Standard toString method.
|
getAdditionalProperties, getConfidenceGovernanceClassification, getConfidentialityGovernanceClassification, getCriticalityGovernanceClassification, getLatestChange, getLatestChangeDetails, getMeanings, getQualifiedName, getRetentionGovernanceClassification, getSearchKeywords, getSecurityTags, hashCode, setAdditionalProperties, setConfidenceGovernanceClassification, setConfidentialityGovernanceClassification, setCriticalityGovernanceClassification, setLatestChange, setLatestChangeDetails, setMeanings, setQualifiedName, setRetentionGovernanceClassification, setSearchKeywords, setSecurityTagsgetClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURLgetHeaderVersion, setHeaderVersionprotected CommentType commentType
protected String commentText
protected String user
protected boolean isPublic
public Comment()
public Comment(Comment template)
template - element to copypublic CommentType getCommentType()
public void setCommentType(CommentType commentType)
commentType - CommentType enumpublic String getCommentText()
public void setCommentText(String commentText)
commentText - String textpublic String getUser()
public void setUser(String user)
user - String commenting userpublic boolean getIsPublic()
public void setIsPublic(boolean aPublic)
aPublic - booleanpublic String toString()
toString in class Referenceablepublic boolean equals(Object objectToCompare)
equals in class ReferenceableobjectToCompare - supplied objectCopyright © 2018–2020 ODPi. All rights reserved.