generated from aidan-underwood/cs3-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAssignment.java
55 lines (44 loc) · 1.12 KB
/
Assignment.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
public class Assignment {
private int assignmentID;
private String title;
private String description;
private String dueDate;
private String course;
Assignment(int assignmentID, String title, String description, String dueDate, String course) {
this.assignmentID = assignmentID;
this.title = title;
this.description = description;
this.dueDate = dueDate;
this.course = course;
}
public int getID() {
return assignmentID;
}
public String getTitle() {
return title;
}
public String getDescription() {
return description;
}
public String getDue() {
return dueDate;
}
public String getCourse() {
return course;
}
public void setID(int ID) {
assignmentID = ID;
}
public void setTitle(String newTitle) {
title = newTitle;
}
public void setDescription(String newDes) {
description = newDes;
}
public void setDue(String newDue) {
dueDate = newDue;
}
public void setCourse(String newCourse) {
course = newCourse;
}
}