Class ReaderInfo


  • public class ReaderInfo
    extends java.lang.Object
    This class contains the reader's information which includes name, description, location and contact
    • Constructor Summary

      Constructors 
      Constructor Description
      ReaderInfo()
      ReaderInfo constructor
      ReaderInfo​(java.lang.String name, java.lang.String description, java.lang.String location, java.lang.String contact)
      Overloaded constructor takes reader's name, description, location and contact
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getContact()
      Gets the reader's contact
      java.lang.String getDescription()
      Gets the reader's description
      java.lang.String getLocation()
      Gets the reader's location
      java.lang.String getName()
      Gets the reader's name
      void setContact​(java.lang.String contact)
      Sets the reader's contact
      void setDescription​(java.lang.String description)
      Sets the reader's description
      void setLocation​(java.lang.String location)
      Sets the reader's location
      void setName​(java.lang.String m_sName)
      Sets the reader's name
      • Methods inherited from class java.lang.Object

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

      • ReaderInfo

        public ReaderInfo()
        ReaderInfo constructor
      • ReaderInfo

        public ReaderInfo​(java.lang.String name,
                          java.lang.String description,
                          java.lang.String location,
                          java.lang.String contact)
        Overloaded constructor takes reader's name, description, location and contact
        Parameters:
        name - Name for the reader
        description - Description for the reader
        location - Location for the reader
        contact - Contact Information for the reader
    • Method Detail

      • getContact

        public java.lang.String getContact()
        Gets the reader's contact
      • setContact

        public void setContact​(java.lang.String contact)
        Sets the reader's contact
      • getDescription

        public java.lang.String getDescription()
        Gets the reader's description
      • setDescription

        public void setDescription​(java.lang.String description)
        Sets the reader's description
      • getLocation

        public java.lang.String getLocation()
        Gets the reader's location
      • setLocation

        public void setLocation​(java.lang.String location)
        Sets the reader's location
      • getName

        public java.lang.String getName()
        Gets the reader's name
      • setName

        public void setName​(java.lang.String m_sName)
        Sets the reader's name