Class Employee

  • All Implemented Interfaces:

    
    public final class Employee
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer getId() It's the unique id of each node; unique id of this employee
      final Unit setId(Integer id) It's the unique id of each node; unique id of this employee
      final Integer getImportance() the importance value of this employee
      final Unit setImportance(Integer importance) the importance value of this employee
      final List<Integer> getSubordinates() the id of direct subordinates
      final Unit setSubordinates(List<Integer> subordinates) the id of direct subordinates
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait