Class NoteLogHeaderProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.communities.NoteLogHeaderProperties
- Direct Known Subclasses:
CommunityForum
,PersonalNoteLog
NoteLogHeaderProperties covers the properties that are common between a community forum and a persona note log.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the description of the note log.boolean
Return if the link to the note log is private to the creating user.getName()
Return the name of the note log.int
hashCode()
Return hash code for this objectvoid
setDescription
(String description) Set up the description of the note log.void
setIsPublic
(boolean aPublic) Set up whether the link to the note log is private to the creating user or not.void
Set up the name of the note log.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
-
NoteLogHeaderProperties
public NoteLogHeaderProperties()Default constructor -
NoteLogHeaderProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getName
Return the name of the note log.- Returns:
- string name
-
setName
Set up the name of the note log.- Parameters:
name
- string name
-
getDescription
Return the description of the note log.- Returns:
- text
-
setDescription
Set up the description of the note log.- Parameters:
description
- text
-
getIsPublic
public boolean getIsPublic()Return if the link to the note log is private to the creating user.- Returns:
- boolean
-
setIsPublic
public void setIsPublic(boolean aPublic) Set up whether the link to the note log is private to the creating user or not.- Parameters:
aPublic
- boolean
-
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
-