Simple 인사 관리프로그램 Source 구조도
<Suhak_project> !- src : 소스 코드 - bin : class 파일 - account : 직원 데이터 - management : 관리자, 부서 데이터
Simple 인사 관리< 코드 목록 >
- AddManager_func.java - Company.java - CreateEmployee_func.java - Main.java - NewEmployee_func.java - okAction.java - OpenAction.java - SearchEmployee_func.java - UpdateEmployee_func.java - UpdateManager_func.java
Simple 인사 관리Main -> Company
Company
New Employee
Search Employee
Update Manager
Cancel
Main
new Company( )소환
Simple 인사 관리New Employee
CreateEmployee_func
account/“ID.txt” 경로 Employee 정보 저장
NewEmployee_func
Department
name
ID
ActionListener
Simple 인사 관리New Employee
CreateEmployee_func
account/“ID.txt” 경로 Employee 정보 저장
“ID.txt”
ID 사용자 입력
name 사용자 입력
Management 자동 입력(데이터 읽어옴)
Department 사용자 입력
데이터 생성
accounts 폴더에 저장
Simple 인사 관리Search Employee - Search 기능
OpenAction
account/“ID.txt” 경로 Employee 정보 검색
SearchEmployee_func
ID
ActionListener
ConfirmAction
Simple 인사 관리Search Employee - Modify 기능
UpdateEmployee_func()
사용자에게 Department, name 받아옴
okAction
account/“ID.txt” 경로 Employee 정보 수정
ActionListener
Simple 인사 관리Search Employee - Modify 기능
okAction
account/“ID.txt” 경로 Employee 정보 수정
“ID.txt”
ID 수정 불가
name 사용자 입력
Management 자동 입력(데이터 읽어옴)
Department 사용자 입력
데이터 수정
accounts 폴더에 저장
Simple 인사 관리Update Manager
UpdateManager_func()
사용자에게 Department, name 받아옴
AddManager_func()
management/“Department.txt” 경로 부서의 관리자 정보 수정
ActionListener
Simple 인사 관리Update Manager
“department.txt”
manager 사용자 입력
데이터 수정
management 폴더에 저장AddManager_func()
management/“Department.txt” 경로 부서의 관리자 정보 수정
Company
NewEmployee_func
SearchEmployee_func
UpdateManager_func
Close
CreateEmployee_func
OpenAction
UpdateEmployee_func okAction
AddManager_func