/Users/johnr/Desktop/IA pdf Downloads/Criteria__P__-_Coding_Project_Upload_all_2022-05-03/Official_IA_Ish_04_21/src/main/java/com/mycompany/official_ia_ish/Task.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 com.mycompany.official_ia_ish;
 7 
 8 /**
 9  *
10  * @author 20075
11  */
12 public class Task {
13     //flag values created with a default "Not set yet'. variable names fairly straightforward
14     private String taskName = "Not set yet";
15     private String taskLocation = "Not set yet";
16     private String taskUrgency = "Not set yet";
17     private String contactedGroupName = "Not set yet";
18     private String daysRemaining = "Not set yet";
19     private String prepTime = "Not set yet";
20  
21 
22     
23     public Task(){
24     
25     }
26     
27     public Task(String taskName, String taskLocation, String taskUrgency, String contactedGroupName, String daysRemaining, String prepTime){
28         this.taskName = taskName;
29         this.taskLocation = taskLocation;
30         this.taskUrgency = taskUrgency;
31         this.contactedGroupName = contactedGroupName;
32         this.daysRemaining = daysRemaining;
33         this.prepTime = prepTime;
34     }
35 
36  //   Task(String text, String text0, String text1, String text2, String text3, String text4) {
37   //      throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
38   //  }
39     
40     
41     //get methods: allows attributes to be retrieved in MainGUI class.
42     public String getTaskName(){
43         return taskName;
44     }
45     
46     public String getTaskLocation(){
47         return taskLocation;
48     }
49     
50     public String getTaskUrgency(){
51         return taskUrgency;
52     }
53     
54     public String getContactName(){
55         return contactedGroupName;
56     }
57     
58     public String getDaysRemaining(){
59         return daysRemaining;
60     }
61     
62      public String getPrepTime(){
63         return prepTime;
64     }
65 }
66     
67  //   public String getHoursRemaining(){
68   //      return hoursRemaining;
69    // }
70     
71    
72     
73 
74