forked from AY2324S1-CS2103T-T12-4/tp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
44 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ | |
import seedu.address.model.AddressBook; | ||
import seedu.address.model.ReadOnlyAddressBook; | ||
import seedu.address.model.appointment.Appointment; | ||
import seedu.address.model.shared.DateTime; | ||
import seedu.address.model.appointment.UniqueAppointmentList; | ||
import seedu.address.model.person.Age; | ||
import seedu.address.model.person.Allergy; | ||
|
@@ -21,6 +20,7 @@ | |
import seedu.address.model.record.Condition; | ||
import seedu.address.model.record.Record; | ||
import seedu.address.model.record.UniqueRecordList; | ||
import seedu.address.model.shared.DateTime; | ||
|
||
|
||
/** | ||
|
@@ -31,7 +31,9 @@ public static Person[] getSamplePersons() { | |
return new Person[] { | ||
new Person(new Name("Alex Yeoh"), new Email("[email protected]"), new Phone("87438807"), | ||
new Gender("M"), new Age(12), new BloodType("A+"), getAllergySet("Peanuts"), | ||
getRecordList(new Record(new DateTime("01-01-2001 1200"), getConditionList("Fever"))), getAppointmentList(new Appointment(new Name("Eye Exam"), new DateTime("01-01-2001 1200"))), true), | ||
getRecordList(new Record(new DateTime("01-01-2001 1200"), getConditionList("Fever"))), | ||
getAppointmentList(new Appointment(new Name("Eye Exam"), new DateTime("01-01-2001 1200"))), | ||
true), | ||
new Person(new Name("Bernice Yu"), new Email("[email protected]"), new Phone("99272758"), | ||
new Gender("F"), new Age(31), new BloodType("B+"), getAllergySet("Dust", "Peanuts"), | ||
new UniqueRecordList(), new UniqueAppointmentList(), false), | ||
|
@@ -81,7 +83,6 @@ public static UniqueRecordList getRecordList(Record... records) { | |
recordList.setRecords(Arrays.asList(records)); | ||
return recordList; | ||
} | ||
|
||
public static UniqueAppointmentList getAppointmentList(Appointment... appointments) { | ||
UniqueAppointmentList appointmentList = new UniqueAppointmentList(); | ||
appointmentList.setAppointments(Arrays.asList(appointments)); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters