-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclsStateReport1.java
More file actions
67 lines (62 loc) · 1.37 KB
/
clsStateReport1.java
File metadata and controls
67 lines (62 loc) · 1.37 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
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import myUtility.*;
public class clsStateReport1
{
private int CountryID;
private String CountryName;
private int StateID;
private String StateName;
public int getCountryID()
{
return(CountryID);
}
public void setCountryID(int CountryID)
{
this.CountryID= CountryID;
}
public String getCountryName()
{
return(CountryName);
}
public void setCountryName(String CountryName)
{
this.CountryName=CountryName;
}
public int getStateID()
{
return(StateID);
}
public void setStateID(int StateID)
{
this.StateID= StateID;
}
public String getStateName()
{
return(StateName);
}
public void setStateName(String StateName)
{
this.StateName=StateName;
}
public static void showStateReport1(clsStateReport1 temp)
{
System.out.println("Country ID :"+temp.getCountryID());
System.out.println("Country Name :"+temp.getCountryName());
System.out.println("State ID :"+temp.getStateID());
System.out.println("State Name :"+temp.getStateName());
}
public static clsStateReport1[] getStateReport1Info()
{
return(dlsState.getStateReport1Info());
}
public static void main (String args[])
{
clsStateReport1 data[] = clsStateReport1.getStateReport1Info();
for( clsStateReport1 temp : data)
{
showStateReport1(temp);
}
}
}