summaryrefslogtreecommitdiff
path: root/src/main/java/com/benburwell/planes/data/NavigationAid.java
blob: 09521a0fb0a3728ac6c8b2304338f681c44f13dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
package com.benburwell.planes.data;

/**
 * Frequencies in kHz, elevations in ft
 *
 * Created by ben on 11/19/16.
 */
public class NavigationAid {
    private int id;
    private String filename;
    private String ident;
    private String type;
    private int frequency;
    private double latitude;
    private double longitude;
    private int elevation;
    private String isoCountry;
    private double dmeFrequency;
    private String dmeChannel;
    private double dmeLatitude;
    private double dmeLongitude;
    private int dmeElevation;
    private double slavedVariation;
    private double magneticVariation;
    private String usageType;
    private String power;
    private String associatedAirport;

    public NavigationAid() {}

    public static NavigationAid fromCSV(String row) {
        NavigationAid aid = new NavigationAid();
        return aid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getIdent() {
        return ident;
    }

    public void setIdent(String ident) {
        this.ident = ident;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getFrequency() {
        return frequency;
    }

    public void setFrequency(int frequency) {
        this.frequency = frequency;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public int getElevation() {
        return elevation;
    }

    public void setElevation(int elevation) {
        this.elevation = elevation;
    }

    public String getIsoCountry() {
        return isoCountry;
    }

    public void setIsoCountry(String isoCountry) {
        this.isoCountry = isoCountry;
    }

    public double getDmeFrequency() {
        return dmeFrequency;
    }

    public void setDmeFrequency(double dmeFrequency) {
        this.dmeFrequency = dmeFrequency;
    }

    public String getDmeChannel() {
        return dmeChannel;
    }

    public void setDmeChannel(String dmeChannel) {
        this.dmeChannel = dmeChannel;
    }

    public double getDmeLatitude() {
        return dmeLatitude;
    }

    public void setDmeLatitude(double dmeLatitude) {
        this.dmeLatitude = dmeLatitude;
    }

    public double getDmeLongitude() {
        return dmeLongitude;
    }

    public void setDmeLongitude(double dmeLongitude) {
        this.dmeLongitude = dmeLongitude;
    }

    public int getDmeElevation() {
        return dmeElevation;
    }

    public void setDmeElevation(int dmeElevation) {
        this.dmeElevation = dmeElevation;
    }

    public double getSlavedVariation() {
        return slavedVariation;
    }

    public void setSlavedVariation(double slavedVariation) {
        this.slavedVariation = slavedVariation;
    }

    public double getMagneticVariation() {
        return magneticVariation;
    }

    public void setMagneticVariation(double magneticVariation) {
        this.magneticVariation = magneticVariation;
    }

    public String getUsageType() {
        return usageType;
    }

    public void setUsageType(String usageType) {
        this.usageType = usageType;
    }

    public String getPower() {
        return power;
    }

    public void setPower(String power) {
        this.power = power;
    }

    public String getAssociatedAirport() {
        return associatedAirport;
    }

    public void setAssociatedAirport(String associatedAirport) {
        this.associatedAirport = associatedAirport;
    }
}