Class NoteProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.feedback.NoteProperties
Note defines the properties of a single note in a note log.
-
Constructor Summary
ConstructorDescriptionDefault constructorNoteProperties
(NoteProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.getText()
Return the text of the note.getTitle()
Return the title.int
hashCode()
Hash of propertiesvoid
Set up the text of the note.void
Set up the title.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
-
Constructor Details
-
NoteProperties
public NoteProperties()Default constructor -
NoteProperties
Copy/clone constructor.- Parameters:
template
- note to copy
-
-
Method Details
-
getTitle
Return the title.- Returns:
- string
-
setTitle
Set up the title.- Parameters:
title
- string
-
getText
Return the text of the note.- Returns:
- String text
-
setText
Set up the text of the note.- Parameters:
text
- 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
-