Class AssetNoteLog

    • Constructor Detail

      • AssetNoteLog

        public AssetNoteLog​(NoteLog noteLogBean,
                            AssetNotes notes)
        Bean constructor
        Parameters:
        noteLogBean - bean describing the note log
        notes - 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 asset
        noteLogBean - bean describing the note log
        notes - iterator for the notes within the note log
      • AssetNoteLog

        public AssetNoteLog​(AssetDescriptor parentAsset,
                            AssetNoteLog templateNoteLog)
        Copy/clone constructor.
        Parameters:
        parentAsset - descriptor for parent asset
        templateNoteLog - 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:
        toString in class AssetReferenceable
        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:
        equals in class AssetReferenceable
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison