/Users/suziweissova/Desktop/School/Grade 11/Computer Science/Dossier for bro 56/src/dossier/pkgfor/bro/repairInformation.java
 1 /*
 2  * To change this template, choose Tools | Templates
 3  * and open the template in the editor.
 4  */
 5 package dossier.pkgfor.bro;
 6 
 7 /**
 8  *
 9  * @author suziweissova
10  */
11 public class repairInformation {
12     
13     private String tenantNameRepair = "not set yet";        //Declares a string for tenant name repair as unset.
14     private String repairType = "not set yet";              //Declares a string for repair type as unset.
15     private boolean repairResolvedCB = false;               //Declares a boolean for whether or not a repair was resolved as false.
16     private String whoResolved = "not set yet";             //Declares a string for who resolved the repair as unset.
17     private String whenResolved = "not set yet";            //Declares a string for when the repair was resolved as unset.
18     private String descriptionOfProblem = "not set yet";    //Declares a string for a description of the repair/problem as unset.
19     
20     public repairInformation (String chosenTenant, String repairType, boolean repairResolvedCB, String whoResolved, String whenResolved, String descriptionOfProblem){
21         this.tenantNameRepair = chosenTenant;
22         this.repairType = repairType;
23         this.repairResolvedCB = repairResolvedCB;
24         this.whoResolved = whoResolved;
25         this.whenResolved = whenResolved;
26         this.descriptionOfProblem = descriptionOfProblem;
27     }
28     public repairInformation(){
29         
30     }
31     
32     public String getchosenTenant(){
33         return tenantNameRepair;
34     }
35     public String getrepairType(){
36         return repairType;
37     }
38     public boolean getrepairResolvedCB(){
39         return repairResolvedCB;
40     }
41     public String getwhoResolved(){
42         return whoResolved;
43     }
44     public String getwhenResolved(){
45         return whenResolved;
46     }
47     
48     public String getdescriptionOfProblem(){
49         return descriptionOfProblem;
50     }
51     
52     public void setchosenTenant (String chosenTenant){
53         this.tenantNameRepair = chosenTenant;
54     }
55     
56     public void setrepairType (String repairType){
57         this.repairType = repairType;
58     }
59     
60     public void setrepairResolvedCB (boolean repairResolvedCB){
61         this.repairResolvedCB = repairResolvedCB;
62     }
63     
64     public void setwhoResolved (String whoResolved){
65         this.whoResolved = whoResolved;
66     }
67     
68     public void setwhenResolved(String whenResolved){
69         this.whenResolved = whenResolved;
70     }
71     
72   
73     public void setdescriptionOfProblem (String descriptionOfProblem){
74         this.descriptionOfProblem = descriptionOfProblem;
75     }
76  
77 }
78