Class NoteLogEntryProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.communities.NoteLogEntryProperties
- Direct Known Subclasses:
CommunityForumContribution
,PersonalNote
NoteLogEntryProperties covers the entries in a community forum and personal notes since they are based on a note log.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorNoteLogEntryProperties
(NoteLogEntryProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return 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.int
hashCode()
Return hash code for this objectvoid
setContributors
(List<String> contributors) Set up the user id of the person who created the tag.void
Set up the main text for this entry.void
Set up the title of the entry.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
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:
toString
in classReferenceableProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classReferenceableProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classReferenceableProperties
- Returns:
- int hash code
-