/Users/johnr/Desktop/IA_14_-_Stage_P_Upload_all_2021-04-08/USEmbassyIA 2 Nirvan - Final/src/usembassyia/Destination.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 Destination {
13     private String name = "not set yet";
14    public int counter = 0;
15    private boolean hasVisa = false;
16    private int frequencyOfPostService = -999;
17     
18     
19 
20    public Destination(){
21    }
22     
23    public Destination(String name, int counter){
24       this.name = name;
25       this.counter = counter;
26    }
27    
28    
29    public String getName(){
30        return name;
31     }
32    public int getCounter(){
33     return counter;
34 }
35    public boolean getHasVisa(){
36        return hasVisa;
37    }
38    public void setName(String name){
39        this.name = name;
40    }
41     public void setCounter(int counter){
42         this.counter = counter;
43     }
44     public void setHasVisa(boolean hasVisa){
45        this.hasVisa = hasVisa;
46    }
47 
48     public int getFrequencyOfPostService() {
49         return frequencyOfPostService;
50     }
51 
52     public void setFrequencyOfPostService(int frequencyOfPostService) {
53         this.frequencyOfPostService = frequencyOfPostService;
54     }
55     
56     
57 }
58