/Users/johnr/Desktop/IA_14_-_Stage_P_Upload_all_2021-04-08/USEmbassyIA 2 Nirvan - Final/src/usembassyia/Employee.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 usembassyia;
 7 
 8 /**
 9  *
10  * @author 21293
11  */
12 public class Employee {
13     private String name = "not set yet";
14     private int securityClearance = -999;
15     
16     public Employee(){
17     }
18         
19     
20     
21     public Employee(String name, int securityClearance){
22         this.name = name;
23        
24         this.securityClearance = securityClearance;
25     }
26     public void setName(String name){
27         this.name = name;
28             
29     }
30     
31     public void setSecurityClearance(int securityClearance){
32         this.securityClearance = securityClearance;
33     }
34     public String getName(){
35         return name;
36     }
37     
38     public int getSecurityClearance(){
39         return securityClearance;
40     }
41     
42         
43 }
44