-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclsRootStopReport.java
More file actions
109 lines (95 loc) · 2.54 KB
/
clsRootStopReport.java
File metadata and controls
109 lines (95 loc) · 2.54 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
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
import javax.swing.*;
public class clsRootStopReport
{
private int RootStopID ;
private int RootID;
private String RootName;
private int StationID;
private String TalukaName;
private String StopTime;
public void setRootStopID(int RootStopID)
{
this.RootStopID = RootStopID;
}
public int getRootStopID()
{
return RootStopID;
}
public void setRootID(int mRootID)
{
this.RootID = mRootID;
}
public int getRootID()
{
return RootID;
}
public void setStationID(int StationID)
{
this.StationID = StationID;
}
public int getStationID()
{
return StationID;
}
public void setStopTime( String StopTime)
{
this.StopTime = StopTime;
}
public String getStopTime()
{
return StopTime;
}
public void setRootName( String RootName)
{
this.RootName = RootName;
}
public String getRootName()
{
return RootName;
}
public void setTalukaName( String TalukaName)
{
this.TalukaName = TalukaName;
}
public String getTalukaName()
{
return TalukaName;
}
public static clsRootStopReport[] getAllRootStopReportInformation()
{
return(dlsRootStop.getAllRootStopReportInformation());
}
public static clsRootStopReport[] getAllRootStopReportInformation(int mRootID)
{
return(dlsRootStop.getAllRootStopReportInformation(mRootID));
}
public static void showRootStop(clsRootStopReport temp)
{
System.out.println("RootStop ID : "+temp.getRootStopID());
System.out.println("Root ID : "+temp.getRootID());
System.out.println("Root Name : "+temp.getRootName());
System.out.println("Station ID : "+temp.getStationID());
System.out.println("Stop Time : "+temp.getStopTime());
System.out.println("Taluka Name : "+temp.getTalukaName());
}
public static void showAllRootStop(clsRootStopReport temp[])
{
for(clsRootStopReport rootStop : temp)
{
System.out.println("RootStop ID : "+rootStop.getRootStopID());
System.out.println("Root ID : "+rootStop.getRootID());
System.out.println("Root Name : "+rootStop.getRootName());
System.out.println("Station ID : "+rootStop.getStationID());
System.out.println("Stop Time : "+rootStop.getStopTime());
System.out.println("Taluka Name : "+rootStop.getTalukaName());
}
}
public static void main(String args[])
{
clsRootStopReport[] emp= clsRootStopReport.getAllRootStopReportInformation();
for(clsRootStopReport emps : emp)
{
clsRootStopReport.showRootStop(emps);
}
}
}