Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
Lab9
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
9731087
Lab9
Commits
029882be
Commit
029882be
authored
May 12, 2019
by
9731087
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
second commit
parent
e998ec9e
Pipeline
#576
failed with stages
Changes
7
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
75 additions
and
4 deletions
+75
-4
AbstarctEmployee.java
src/AbstarctEmployee.java
+9
-1
Course.java
src/Course.java
+11
-0
Department.java
src/Department.java
+13
-0
Essay.java
src/Essay.java
+11
-0
Master.java
src/Master.java
+6
-1
Payroll.java
src/Payroll.java
+21
-0
Student.java
src/Student.java
+4
-2
No files found.
src/AbstarctEmployee.java
View file @
029882be
import
java.util.ArrayList
;
public
class
Employee
{
public
class
Abstarct
Employee
{
protected
ArrayList
<
Payroll
>
payrolls
;
protected
int
defPay
;
...
...
@@ -10,4 +10,12 @@ public class Employee {
public
ArrayList
<
Payroll
>
getPayrolls
()
{
return
this
.
payrolls
;
}
public
int
getDefPay
()
{
return
defPay
;
}
public
int
incomeCalculate
(){
}
}
src/Course.java
View file @
029882be
public
class
Course
{
private
String
title
;
private
String
description
;
public
String
getTitle
()
{
return
title
;
}
public
String
getDescription
()
{
return
description
;
}
}
src/Department.java
View file @
029882be
import
java.util.ArrayList
;
public
class
Department
{
private
ArrayList
<
Course
>
courses
;
private
String
name
;
public
String
getName
()
{
return
name
;
}
public
ArrayList
<
Course
>
getCourses
()
{
return
courses
;
}
}
src/Essay.java
View file @
029882be
public
class
Essay
{
private
String
title
;
private
int
modYear
;
public
String
getTitle
()
{
return
title
;
}
public
int
getModYear
()
{
return
modYear
;
}
}
src/Master.java
View file @
029882be
import
java.util.ArrayList
;
public
class
Master
{
private
Essay
[]
essays
;
private
ArrayList
<
Essay
>
essays
;
public
ArrayList
<
Essay
>
getEssays
()
{
return
essays
;
}
}
src/Payroll.java
View file @
029882be
public
class
Payroll
{
private
int
id
;
private
int
income
;
private
int
date
;
private
Person
owner
;
public
int
getIncome
()
{
return
income
;
}
public
int
getId
()
{
return
id
;
}
public
int
getDate
()
{
return
date
;
}
public
Person
getOwner
()
{
return
owner
;
}
}
src/Student.java
View file @
029882be
import
java.util.ArrayList
;
public
class
Student
{
protected
Course
[]
courses
;
protected
ArrayList
<
Course
>
courses
;
public
Course
[]
getCourses
()
{
public
ArrayList
<
Course
>
getCourses
()
{
return
courses
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment