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
NoteLogEntryProperties covers the entries in a community forum and personal notes since they are based on a note log.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorNoteLogEntryProperties(NoteLogEntryProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the list of user ids of the people who created the note log entry.getText()Return the main text of the entry.getTitle()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.voidSet up the main text for this entry.voidSet up the title of the entry.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
Constructor Details
-
NoteLogEntryProperties
public NoteLogEntryProperties()Default constructor -
NoteLogEntryProperties
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getContributors
Return the list of user ids of the people who created the note log entry.- Returns:
- authoring users
-
setContributors
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
Return the title of the entry.- Returns:
- string title
-
setTitle
Set up the title of the entry.- Parameters:
title- string title
-
getText
Return the main text of the entry.- Returns:
- string text
-
setText
Set up the main text for this entry.- Parameters:
text- string text
-
toString
JSON-style toString- Overrides:
toStringin classReferenceableProperties- Returns:
- return string containing the property names and values
-
equals
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
-