Class Note


  • public class Note
    extends java.lang.Object
    This class defines Note that can be fetched from database
    Since:
    2022-03-01
    • Constructor Summary

      Constructors 
      Constructor Description
      Note​(int noteId, java.lang.String noteTitle, java.lang.String noteDescription)
      Constructor for Note class
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getNoteDescription()
      Gets note description
      int getNoteId()
      Gets not id
      java.lang.String getNoteTitle()
      Gets note title
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Note

        public Note​(int noteId,
                    java.lang.String noteTitle,
                    java.lang.String noteDescription)
        Constructor for Note class
        Parameters:
        noteId - defines note Id
        noteTitle - defines note Title
        noteDescription - defines note Description
    • Method Detail

      • getNoteId

        public int getNoteId()
        Gets not id
        Returns:
        int note id
      • getNoteTitle

        public java.lang.String getNoteTitle()
        Gets note title
        Returns:
        String note
      • getNoteDescription

        public java.lang.String getNoteDescription()
        Gets note description
        Returns:
        String noteDescription