-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclsLocationManagement2.java
More file actions
68 lines (55 loc) · 1.33 KB
/
Copy pathclsLocationManagement2.java
File metadata and controls
68 lines (55 loc) · 1.33 KB
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
public class clsLocationManagement2
{
private int CountryID;
private String CountryName;
private int StateID;
private String StateName;
public void setCountryID(int CountryID)
{
this.CountryID = CountryID;
}
public int getCountryID()
{
return CountryID;
}
public void setCountryName(String CountryName)
{
this.CountryName = CountryName;
}
public String getCountryName()
{
return CountryName;
}
public void setStateID(int StateID)
{
this.StateID = StateID;
}
public int getStateID()
{
return(StateID);
}
public void setStateName(String StateName)
{
this.StateName = StateName;
}
public String getStateName()
{
return(StateName);
}
public static void showLocationManagement2(clsLocationManagement2 temp)
{
System.out.println("Country ID : "+temp.CountryID);
System.out.println("Country Name : "+temp.CountryName);
System.out.println("State ID : "+temp.StateID);
System.out.println("State Name : "+temp.StateName);
}
public static clsLocationManagement2 getLocationInfo(int mStateID)
{
return(dlsLocationManagement2.getLocationInfo(mStateID));
}
public static void main(String args[])
{
clsLocationManagement2 temp = clsLocationManagement2.getLocationInfo(6);
clsLocationManagement2.showLocationManagement2(temp);
}
}