Class Staff

java.lang.Object
edu.nwmissouri.zoo02group.Person
edu.nwmissouri.zoo02group.Staff

public class Staff extends Person
storing the staff data extending person abstract class
Author:
Manoj Gorantla
  • Constructor Details

    • Staff

      public Staff(int staffId, String firstName, String lastName, int age, String gender)
  • Method Details

    • creat

      public static void creat()
      Added the staff data to create method.
    • getStaffList

      public static ArrayList<Staff> getStaffList()
      Returns:
      the staff list
    • setStaffList

      public static void setStaffList(ArrayList<Staff> staffList)
    • getStaffId

      public int getStaffId()
      Returns:
      staff id
    • setStaffId

      public void setStaffId(int staffId)
      Parameters:
      staffId -
    • check

      public static boolean check(int empid)
      Parameters:
      empid -
      Returns:
      false.