-
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.
Merge branch 'main' of https://github.com/ralfkatt/AMD into main
- Loading branch information
Showing
5 changed files
with
49 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import java.util.*; | ||
|
||
class Preferences { | ||
// Instance Variables | ||
public Date date; | ||
public int time; | ||
public int duration; | ||
public String commlanguage; | ||
|
||
// Constructor Declaration of Class | ||
public Preferences(Date date, int time, int duration, String commlanguage) { | ||
this.date = date; | ||
this.time = time; | ||
this.duration = duration; | ||
this.commlanguage = commlanguage; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import java.util.*; | ||
|
||
class RequestPreference extends Preferences { | ||
// Instance Variables | ||
public String driversLicence; | ||
|
||
// Constructor Declaration of Class | ||
public RequestPreference(Date date, int time, int duration, String commLanguage, String driversLicence) { | ||
super(date, time, duration, commLanguage); | ||
this.driversLicence = driversLicence; | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import java.util.*; | ||
|
||
class ResponderPreference extends Preferences { | ||
// Instance Variables | ||
public String location; | ||
public String typeOfLabour; | ||
|
||
// Constructor Declaration of Class | ||
public ResponderPreference(Date date, int time, int duration, int commlanguage, String location, | ||
String typeOfLabour) { | ||
super(date, time, duration, commlanguage); | ||
this.location = location; | ||
this.typeOfLabour = typeOfLabour; | ||
} | ||
} |