Class AssetNoteLog
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyElementBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetElementHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetReferenceable
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetNoteLog
-
- All Implemented Interfaces:
Serializable
public class AssetNoteLog extends AssetReferenceable
AssetNoteLog manages a collection of notes for an asset- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected NoteLognoteLogBeanprotected AssetNotesnotes-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetReferenceable
referenceableBean
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyBase
parentAsset
-
-
Constructor Summary
Constructors Constructor Description AssetNoteLog(AssetDescriptor parentAsset, AssetNoteLog templateNoteLog)Copy/clone constructor.AssetNoteLog(AssetDescriptor parentAsset, NoteLog noteLogBean, AssetNotes notes)Bean constructor with parent assetAssetNoteLog(NoteLog noteLogBean, AssetNotes notes)Bean 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()Returns the stored description property for the note log.StringgetDisplayName()Returns the stored display name property for the note log.protected NoteLoggetNoteLogBean()Return the bean containing the properties for the note logAssetNotesgetNotes()Return the list of notes defined for this note log.inthashCode()Hash of propertiesStringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetReferenceable
getAdditionalProperties, getMeanings, getQualifiedName, getReferenceableBean, getSecurityTags, setBean
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetElementHeader
getAssetClassifications, getElementHeaderBean, getExtendedProperties, getGUID, getType, getURL, setBean
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyBase
getParentAsset, getParentAssetName, getParentAssetTypeName
-
-
-
-
Field Detail
-
noteLogBean
protected NoteLog noteLogBean
-
notes
protected AssetNotes notes
-
-
Constructor Detail
-
AssetNoteLog
public AssetNoteLog(NoteLog noteLogBean, AssetNotes notes)
Bean constructor- Parameters:
noteLogBean- bean describing the note lognotes- iterator for the notes within the note log
-
AssetNoteLog
public AssetNoteLog(AssetDescriptor parentAsset, NoteLog noteLogBean, AssetNotes notes)
Bean constructor with parent asset- Parameters:
parentAsset- descriptor for parent assetnoteLogBean- bean describing the note lognotes- iterator for the notes within the note log
-
AssetNoteLog
public AssetNoteLog(AssetDescriptor parentAsset, AssetNoteLog templateNoteLog)
Copy/clone constructor.- Parameters:
parentAsset- descriptor for parent assettemplateNoteLog- note log to copy
-
-
Method Detail
-
getNoteLogBean
protected NoteLog getNoteLogBean()
Return the bean containing the properties for the note log- Returns:
- note log bean
-
getDisplayName
public String getDisplayName()
Returns the stored display name property for the note log. If no display name is available then null is returned.- Returns:
- displayName
-
getDescription
public String getDescription()
Returns the stored description property for the note log. If no description is provided then null is returned.- Returns:
- description
-
getNotes
public AssetNotes getNotes()
Return the list of notes defined for this note log.- Returns:
- Notes list of notes
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classAssetReferenceable- 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 classAssetReferenceable- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Hash of properties- Overrides:
hashCodein classAssetReferenceable- Returns:
- int
-
-