Class NoteLogHeader
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.NoteLogHeader
- Direct Known Subclasses:
NoteLog
NoteLogHeader manages a list of notes for an asset
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
additionalProperties, qualifiedName
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
extendedProperties
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionDefault constructorNoteLogHeader
(NoteLogHeader templateNoteLog) 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.connectors.properties.beans.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, setExtendedProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
getClassifications, getGUID, setClassifications, setGUID
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
getHeaderVersion, getOrigin, getStatus, getType, getVersions, setHeaderVersion, setOrigin, setStatus, setType, setVersions
-
Field Details
-
displayName
-
description
-
-
Constructor Details
-
NoteLogHeader
public NoteLogHeader()Default constructor -
NoteLogHeader
Copy/clone constructor.- Parameters:
templateNoteLog
- 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 classReferenceable
- 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 classReferenceable
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash of properties- Overrides:
hashCode
in classReferenceable
- Returns:
- int
-