Class Client


  • public class Client
    extends java.lang.Object
    This class represents a client in the system.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean getClientActive()
      Gets the active status of this client.
      int getClientID()
      Gets the client ID of this client.
      java.lang.String getClientName()
      Gets the name of this client.
      java.time.LocalDate getClientRegDate()
      Gets the registration date of this client.
      void setClientActive​(boolean clientActive)
      Sets the active status of this client.
      void setClientID​(int clientID)
      Sets the client ID of this client.
      void setClientName​(java.lang.String clientName)
      Sets the name of this client.
      java.lang.String toString()
      Returns a string representation of the client instance.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getClientID

        public int getClientID()
        Gets the client ID of this client.
        Returns:
        the client ID of this client.
      • setClientID

        public void setClientID​(int clientID)
        Sets the client ID of this client.
        Parameters:
        clientID - the new client ID to be set.
      • getClientName

        public java.lang.String getClientName()
        Gets the name of this client.
        Returns:
        the name of this client.
      • setClientName

        public void setClientName​(java.lang.String clientName)
        Sets the name of this client.
        Parameters:
        clientName - the new name to be set.
      • getClientRegDate

        public java.time.LocalDate getClientRegDate()
        Gets the registration date of this client.
        Returns:
        the registration date of this client.
      • getClientActive

        public boolean getClientActive()
        Gets the active status of this client.
        Returns:
        the active status of this client.
      • setClientActive

        public void setClientActive​(boolean clientActive)
        Sets the active status of this client.
        Parameters:
        clientActive - the new active status to be set.
      • toString

        public java.lang.String toString()
        Returns a string representation of the client instance.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string containing the client's name, ID, registration date and active status.