Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
D
G
L
M
P
R
S
V
A
addDose(Dose)
- Method in class scheduler.model.
Bin
Adds a single dose to the bin specified by the dose argument.
B
Bin
- Class in
scheduler.model
The basic alarm unit for reminders and a container of an arbitrary number of possible doses.
Bin()
- Constructor for class scheduler.model.
Bin
Creates a new single bin representation including zero doses by default and set to 12:00AM alarm time.
D
Dose
- Class in
scheduler.model
Describes an amount of a particular medication to be taken at a time specified by the containing bin.
Dose(Medication)
- Constructor for class scheduler.model.
Dose
Creates a new Dose instance for the specified medication with the amount initiated to zero.
G
getAmount()
- Method in class scheduler.model.
Dose
Returns the amount of medication associated with this dose.
getBin(int)
- Method in class scheduler.model.
Schedule
Returns the bin corresponding to the number argument.
getColor()
- Method in class scheduler.model.
Medication
getColorFromInt(int)
- Static method in enum scheduler.model.
Medication.Color
Returns the Color pertaining to the specified integer.
getHour()
- Method in class scheduler.model.
Bin
Returns this bin's alarm hour.
getLastUpdate()
- Method in class scheduler.model.
Patient
Returns a Date instance representing the last update data and time.
getMedication()
- Method in class scheduler.model.
Dose
Returns the medication associated with this dose.
getMinute()
- Method in class scheduler.model.
Bin
Returns this bin's alarm minute.
getName()
- Method in class scheduler.model.
Medication
getNum()
- Method in enum scheduler.model.
Medication.Color
Returns the number associated with this color.
getNum()
- Method in enum scheduler.model.
Medication.Shape
Returns the number associated with this shape.
getNum()
- Method in enum scheduler.model.
Medication.Special
Returns the number associated with this special.
getPatientName()
- Method in class scheduler.model.
Patient
Returns a String representation of the patient's name.
getSchedule()
- Method in class scheduler.model.
Patient
Returns the schedule instance pertaining to this patient.
getShape()
- Method in class scheduler.model.
Medication
getShapeFromInt(int)
- Static method in enum scheduler.model.
Medication.Shape
Returns the Shape pertaining to the specified integer.
getSpecial1()
- Method in class scheduler.model.
Medication
getSpecial2()
- Method in class scheduler.model.
Medication
getSpecialFromInt(int)
- Static method in enum scheduler.model.
Medication.Special
Returns the Special pertaining to the specified integer.
L
listDoses()
- Method in class scheduler.model.
Bin
Returns an array of doses currently in this bin.
M
Medication
- Class in
scheduler.model
Represents a named medication with four possible description attributes.
Medication(String)
- Constructor for class scheduler.model.
Medication
Creates a new Medication with the specified name and no default attributes.
Medication.Color
- Enum in
scheduler.model
Enumerated color options for the description of a medication.
Medication.Shape
- Enum in
scheduler.model
Enumerated shape options for the description of a medication.
Medication.Special
- Enum in
scheduler.model
Enumerated special options for the description of a medication.
P
Patient
- Class in
scheduler.model
Represents a single patient with a necessary medication schedule and a device maintained by periodic schedule updates.
Patient(String)
- Constructor for class scheduler.model.
Patient
Creates a new patient representation with the specified name, a blank schedule for four bins, and a lastUpdate set to the zero time (Dec 31, 1969).
R
removeDose(Dose)
- Method in class scheduler.model.
Bin
Removes a single dose specified by the dose argument from the bin.
S
Schedule
- Class in
scheduler.model
A collection of bins making up a specific and regimented scheduled described more thoroughly by each containing bin.
Schedule(int)
- Constructor for class scheduler.model.
Schedule
Creates a new Schedule instance with the specified number of bins.
scheduler.model
- package scheduler.model
setAmount(double)
- Method in class scheduler.model.
Dose
Sets the dose amount to the specified argument with 1/10 accuracy.
setBin(Bin, int)
- Method in class scheduler.model.
Schedule
Replaces the specified number bin with the bin argument.
setColor(Medication.Color)
- Method in class scheduler.model.
Medication
setHour(int)
- Method in class scheduler.model.
Bin
Sets the bin alarm hour to the specified hour argument.
setLastUpdate(Date)
- Method in class scheduler.model.
Patient
Sets the last device update time and date.
setMedication(Medication)
- Method in class scheduler.model.
Dose
Sets the medication corresponding to this dose to the argument.
setMinute(int)
- Method in class scheduler.model.
Bin
Sets the bin alarm minute to the specified minute argument.
setName(String)
- Method in class scheduler.model.
Medication
setPatientName(String)
- Method in class scheduler.model.
Patient
Sets the patient's name to the specified argument.
setSchedule(Schedule)
- Method in class scheduler.model.
Patient
Sets the patients schedules to a new value.
setShape(Medication.Shape)
- Method in class scheduler.model.
Medication
setSpecial1(Medication.Special)
- Method in class scheduler.model.
Medication
setSpecial2(Medication.Special)
- Method in class scheduler.model.
Medication
V
valueOf(String)
- Static method in enum scheduler.model.
Medication.Color
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum scheduler.model.
Medication.Shape
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum scheduler.model.
Medication.Special
Returns the enum constant of this type with the specified name.
values()
- Static method in enum scheduler.model.
Medication.Color
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum scheduler.model.
Medication.Shape
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum scheduler.model.
Medication.Special
Returns an array containing the constants of this enum type, in the order they are declared.
A
B
D
G
L
M
P
R
S
V
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes