Class StaffMember

    • Constructor Summary

      Constructors 
      Constructor Description
      StaffMember​(java.lang.String firstName, java.lang.String lastName, java.lang.String jobTitle)
      Creates new member using this given arguments
    • Constructor Detail

      • StaffMember

        public StaffMember​(java.lang.String firstName,
                           java.lang.String lastName,
                           java.lang.String jobTitle)
        Creates new member using this given arguments
        Parameters:
        firstName - first name
        lastName - name
        jobTitle - the job of the person
    • Method Detail

      • getFirstName

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

        public void setFirstName​(java.lang.String firstName)
        sets the person's first name
        Parameters:
        firstName - person's first name
      • getLastName

        public java.lang.String getLastName()
        Returns the person's last name.
        Returns:
        last name
      • setLastName

        public void setLastName​(java.lang.String lastName)
        Sets the person's last name
        Parameters:
        lastName - person's last name
      • setEnterpriseUnit

        public void setEnterpriseUnit​(AbstractEnterpriseUnit enterpriseUnit)
        Sets the enterprise unit this person works for
        Parameters:
        enterpriseUnit - unit the member works for
      • getJobTitle

        public java.lang.String getJobTitle()
        Returns the job title of this staff member
        Returns:
        job title
      • setJobTitle

        public void setJobTitle​(java.lang.String jobTitle)
        Sets this staff member's job title
        Parameters:
        jobTitle - person's job