/Users/johnr/Desktop/IA Submissions/IA Final Submission - Peem/Product/IAcompsciMed_Peem/src/iacompscimed_peem/doseTotalData.java
 1 /*
 2  * To change this license header, choose License Headers in Project Properties.
 3  * To change this template file, choose Tools | Templates
 4  * and open the template in the editor.
 5  */
 6 package iacompscimed_peem;
 7 
 8 /**
 9  *
10  * @author 19496
11  */
12 public class doseTotalData {
13     
14     
15     
16     private String patient;
17     private String medicine;
18     private double totalDose;
19     
20     
21     public doseTotalData()
22     {
23      patient = "";
24      medicine = "";
25      totalDose = 0.0;
26     }
27     
28     
29      public doseTotalData(String PA, String ME, double TD )
30     {
31     
32         
33         patient = PA ;
34         medicine = ME;
35         totalDose = TD;
36      
37     }
38        public void setPatient(String PA)
39     {
40         patient = PA;
41     }
42      public void setMedicine(String ME)
43     {
44         medicine = ME;
45     }
46        public void setTotalDose(double TD)
47     {
48         totalDose = TD;
49     }
50        
51         public String getPatient()
52     {
53         return patient;
54     }
55       public String getMedicine()
56     {
57         return medicine;
58     }
59    public double getTotalDose()
60     {
61         return totalDose;
62     }
63     
64 
65        
66     
67 }
68