Class NoteLogHeaderProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.communityprofile.properties.NoteLogHeaderProperties
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CommunityForum,PersonalNoteLog
public class NoteLogHeaderProperties extends ReferenceableProperties
NoteLogHeaderProperties covers the properties that are common between a community forum and a persona note log.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoteLogHeaderProperties()Default constructorNoteLogHeaderProperties(NoteLogHeaderProperties 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.StringgetDescription()Return the description of the note log.booleangetIsPublic()Return if the link to the note log is private to the creating user.StringgetName()Return the name of the note log.inthashCode()Return hash code for this objectvoidsetDescription(String description)Set up the description of the note log.voidsetIsPublic(boolean aPublic)Set up whether the link to the note log is private to the creating user or not.voidsetName(String name)Set up the name of the note log.StringtoString()JSON-style toString-
Methods 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 Detail
-
NoteLogHeaderProperties
public NoteLogHeaderProperties()
Default constructor
-
NoteLogHeaderProperties
public NoteLogHeaderProperties(NoteLogHeaderProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getName
public String getName()
Return the name of the note log.- Returns:
- string name
-
setName
public void setName(String name)
Set up the name of the note log.- Parameters:
name- string name
-
getDescription
public String getDescription()
Return the description of the note log.- Returns:
- text
-
setDescription
public void setDescription(String description)
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
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
-
-