Class User

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    Appointment, AppointmentFilterDTO

    public class User
    extends java.lang.Object
    implements java.io.Serializable
    Business class of the User
    Author:
    Laurent Payen
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      User()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<Appointment> getAppointments()
      Get the appointments of the User
      java.lang.String getEmail()
      Get the email of the User
      java.lang.String getFirstName()
      Get the first name of the User
      java.lang.String getGuid()
      Get the Guid of the User
      int getIdUser()
      Get the Id of the User
      java.lang.String getLastName()
      Get the last name of the User
      java.lang.String getPhoneNumber()
      Get the phone number of the USer
      void setAppointments​(java.util.List<Appointment> listAppointments)
      Set the appointments of the User
      void setEmail​(java.lang.String strEmail)
      Set the email of the User
      void setFirstName​(java.lang.String strFirstName)
      Set the User first name
      void setGuid​(java.lang.String strGuid)
      Set the Guid
      void setIdUser​(int nIdUser)
      Set the Id of the User
      void setLastName​(java.lang.String strLastName)
      Set the last name of the User
      void setPhoneNumber​(java.lang.String strPhoneNumber)
      Set the phone number of the User
      • Methods inherited from class java.lang.Object

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

      • User

        public User()
    • Method Detail

      • getIdUser

        public int getIdUser()
        Get the Id of the User
        Returns:
        the Id of the User
      • setIdUser

        public void setIdUser​(int nIdUser)
        Set the Id of the User
        Parameters:
        nIdUser - the Id to set
      • getGuid

        public java.lang.String getGuid()
        Get the Guid of the User
        Returns:
        the Guid
      • setGuid

        public void setGuid​(java.lang.String strGuid)
        Set the Guid
        Parameters:
        strGuid - the Guid
      • getFirstName

        public java.lang.String getFirstName()
        Get the first name of the User
        Returns:
        the first name of the User
      • setFirstName

        public void setFirstName​(java.lang.String strFirstName)
        Set the User first name
        Parameters:
        strFirstName - the first name to set
      • getLastName

        public java.lang.String getLastName()
        Get the last name of the User
        Returns:
        the last name of the USer
      • setLastName

        public void setLastName​(java.lang.String strLastName)
        Set the last name of the User
        Parameters:
        strLastName - the last name to set
      • getEmail

        public java.lang.String getEmail()
        Get the email of the User
        Returns:
        the email of the User
      • setEmail

        public void setEmail​(java.lang.String strEmail)
        Set the email of the User
        Parameters:
        strEmail - the email to set
      • getPhoneNumber

        public java.lang.String getPhoneNumber()
        Get the phone number of the USer
        Returns:
        the phone number of the User
      • setPhoneNumber

        public void setPhoneNumber​(java.lang.String strPhoneNumber)
        Set the phone number of the User
        Parameters:
        strPhoneNumber - the phone number to set
      • getAppointments

        public java.util.List<Appointment> getAppointments()
        Get the appointments of the User
        Returns:
        the list of the User appointments
      • setAppointments

        public void setAppointments​(java.util.List<Appointment> listAppointments)
        Set the appointments of the User
        Parameters:
        listAppointments - the appointments to set