Class Employee


@Entity public class Employee extends AbstractPersistent
  • Constructor Details

    • Employee

      public Employee()
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getSalary

      public float getSalary()
    • setSalary

      public void setSalary(float salary)
    • getSeniority

      public Employee.Seniority getSeniority()
    • setSeniority

      public void setSeniority(Employee.Seniority seniority)
    • getStartDate

      public Date getStartDate()
    • setStartDate

      public void setStartDate(Date startDate)
    • getManager

      public Employee getManager()
    • setManager

      public void setManager(Employee manager)
    • getDepartment

      public Department getDepartment()
    • setDepartment

      public void setDepartment(Department department)
    • getDirectReports

      public Set<Employee> getDirectReports()
    • setDirectReports

      public void setDirectReports(Set<Employee> directReports)
    • getAnnotations

      public Map<String,String> getAnnotations()
    • setAnnotations

      public void setAnnotations(Map<String,String> annotations)
    • toString

      public String toString()
      Overrides:
      toString in class Object