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
9731050
Lab9
Commits
f8c0d480
Commit
f8c0d480
authored
May 12, 2019
by
9731050
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
second
parent
f2ac5501
Pipeline
#580
canceled with stages
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
3 deletions
+18
-3
Statement.java
src/Statement.java
+11
-0
Course.java
src/org/university/core/Course.java
+3
-3
Employee.java
src/org/university/core/Employee.java
+1
-0
Professor.java
src/org/university/core/Professor.java
+3
-0
No files found.
src/Statement.java
0 → 100644
View file @
f8c0d480
import
org.university.core.Employee
;
public
class
Statement
{
private
double
amount
;
private
Employee
reciever
;
public
Statement
(
double
amount
,
Employee
reciever
)
{
this
.
amount
=
amount
;
this
.
reciever
=
reciever
;
}
}
src/org/university/core/Course.java
View file @
f8c0d480
...
...
@@ -6,14 +6,14 @@ public class Course {
private
String
name
;
private
Professor
instructor
;
private
ArrayList
<
Student
>
students
=
new
ArrayList
<
Student
>();
private
Grad
uate
Student
teacherAssistance
;
private
GradStudent
teacherAssistance
;
public
Grad
uate
Student
getTeacherAssistance
()
{
public
GradStudent
getTeacherAssistance
()
{
return
teacherAssistance
;
}
public
void
setTeacherAssistance
(
Grad
uate
Student
teacherAssistance
)
{
public
void
setTeacherAssistance
(
GradStudent
teacherAssistance
)
{
this
.
teacherAssistance
=
teacherAssistance
;
}
...
...
src/org/university/core/Employee.java
View file @
f8c0d480
package
org
.
university
.
core
;
import
java.sql.Statement
;
import
java.util.ArrayList
;
public
class
Employee
extends
Person
{
...
...
src/org/university/core/Professor.java
View file @
f8c0d480
...
...
@@ -21,5 +21,8 @@ public class Professor extends Employee{
public
void
addCourse
(
Course
c
){
courses
.
add
(
c
);
}
public
double
getCurrentIncome
(){
}
}
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