Class NoteLogHeader
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.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
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NoteLog
public class NoteLogHeader extends Referenceable
NoteLogHeader manages a list of notes for an asset- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringdescriptionprotected StringdisplayName-
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, url
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description NoteLogHeader()Default constructorNoteLogHeader(NoteLogHeader templateNoteLog)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetDescription()Return the stored description property for the note log.StringgetDisplayName()Return the stored display name property for the note log.inthashCode()Hash of propertiesvoidsetDescription(String description)Set up the stored description property for the note log.voidsetDisplayName(String displayName)Set up the stored display name property for the note log.StringtoString()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, getURL, setExtendedProperties, setURL
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getGUID, setClassifications, setGUID
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersions
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Constructor Detail
-
NoteLogHeader
public NoteLogHeader()
Default constructor
-
NoteLogHeader
public NoteLogHeader(NoteLogHeader templateNoteLog)
Copy/clone constructor.- Parameters:
templateNoteLog- note log to copy
-
-
Method Detail
-
getDisplayName
public String 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
public void setDisplayName(String displayName)
Set up the stored display name property for the note log.- Parameters:
displayName- - String name
-
getDescription
public String getDescription()
Return the stored description property for the note log. If no description is provided then null is returned.- Returns:
- description
-
setDescription
public void setDescription(String description)
Set up the stored description property for the note log.- Parameters:
description- String text
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classReferenceable- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classReferenceable- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Hash of properties- Overrides:
hashCodein classReferenceable- Returns:
- int
-
-