-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAirlinesCode.java
More file actions
67 lines (46 loc) · 821 Bytes
/
AirlinesCode.java
File metadata and controls
67 lines (46 loc) · 821 Bytes
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
package Individual_Project;
import java.util.ArrayList;
/**
* The class Airlines code
*/
public class AirlinesCode {
private String ID_name;
static ArrayList<AirlinesCode> AirlinesCodes = new ArrayList<AirlinesCode>();
/**
*
* It is a constructor.
*
* @param ID_name the I d_name
*/
public AirlinesCode(String ID_name) {
this.ID_name = ID_name;
}
/**
*
* Gets the I d_name
*
* @return the I d_name
*/
public String getID_name() {
return ID_name;
}
/**
*
* Sets the I d_name
*
* @param ID_name the I d_name
*/
public void setID_name(String ID_name) {
this.ID_name = ID_name;
}
@Override
/**
*
* To string
*
* @return String
*/
public String toString() {
return ID_name;
}
}