Class NoteLogProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.feedback.NoteLogProperties
NoteLogHeader manages a list of notes for an element
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDefault constructorNoteLogProperties
(NoteLogProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the stored description property for the note log.Return the stored display name property for the note log.int
hashCode()
Hash of propertiesvoid
setDescription
(String description) Set up the stored description property for the note log.void
setDisplayName
(String displayName) Set up the stored display name property for the note log.toString()
Standard toString method.Methods 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
-
Field Details
-
displayName
-
description
-
-
Constructor Details
-
NoteLogProperties
public NoteLogProperties()Default constructor -
NoteLogProperties
Copy/clone constructor.- Parameters:
template
- note log to copy
-
-
Method Details
-
getDisplayName
Return the stored display name property for the note log. If no display name is available then null is returned.- Returns:
- String Name
-
setDisplayName
Set up the stored display name property for the note log.- Parameters:
displayName
- - String name
-
getDescription
Return the stored description property for the note log. If no description is provided then null is returned.- Returns:
- description
-
setDescription
Set up the stored description property for the note log.- Parameters:
description
- String text
-
toString
Standard toString method.- Overrides:
toString
in classReferenceableProperties
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classReferenceableProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash of properties- Overrides:
hashCode
in classReferenceableProperties
- Returns:
- int
-