Class NoteLogEntryProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.communityprofile.properties.NoteLogEntryProperties
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CommunityForumContribution,PersonalNote
public class NoteLogEntryProperties extends ReferenceableProperties
NoteLogEntryProperties covers the entries in a community forum and personal notes since they are based on a note log.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoteLogEntryProperties()Default constructorNoteLogEntryProperties(NoteLogEntryProperties template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.List<String>getContributors()Return the list of user ids of the people who created the note log entry.StringgetText()Return the main text of the entry.StringgetTitle()Return the title of the entry.inthashCode()Return hash code for this objectvoidsetContributors(List<String> contributors)Set up the user id of the person who created the tag.voidsetText(String text)Set up the main text for this entry.voidsetTitle(String title)Set up the title of the entry.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
-
-
-
Constructor Detail
-
NoteLogEntryProperties
public NoteLogEntryProperties()
Default constructor
-
NoteLogEntryProperties
public NoteLogEntryProperties(NoteLogEntryProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getContributors
public List<String> getContributors()
Return the list of user ids of the people who created the note log entry.- Returns:
- authoring users
-
setContributors
public void setContributors(List<String> contributors)
Set up the user id of the person who created the tag. Null means the user id is not known.- Parameters:
contributors- authoring users
-
getTitle
public String getTitle()
Return the title of the entry.- Returns:
- string title
-
setTitle
public void setTitle(String title)
Set up the title of the entry.- Parameters:
title- string title
-
getText
public String getText()
Return the main text of the entry.- Returns:
- string text
-
setText
public void setText(String text)
Set up the main text for this entry.- Parameters:
text- string text
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classReferenceableProperties- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.- Overrides:
equalsin classReferenceableProperties- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classReferenceableProperties- Returns:
- int hash code
-
-