1   package examples.bookTrading;
2   
3   import de.uni_stuttgart.informatik.canu.senv.core.Vertex;
4   
5   /**
6    * This user-defined Java class is used to store and retrieve communication related information.
7    * @author prajakta
8    *
9    */
10  public class StoredCommunicationInformation {
11  
12      public StoredCommunicationInformation(){
13          
14      }
15      
16      public StoredCommunicationInformation(Vertex src, Vertex dest,
17              String communicID, String vehiclesList, int cnt, String congestedSegID) {
18          this.source = src;
19          this.destination = dest;
20          this.commID = communicID;
21          this.listOfVehicles = vehiclesList;
22          this.count = cnt;
23          this.congSegID = congestedSegID;
24      }
25      
26      private int count;
27      
28      public int getCount() {
29          return count;
30      }
31  
32      public void setCount(int count) {
33          this.count = count;
34      }
35  
36      public String getCongSegID() {
37          return congSegID;
38      }
39  
40      public void setCongSegID(String congSegID) {
41          this.congSegID = congSegID;
42      }
43  
44      private String congSegID;
45  
46      private Vertex source;
47      
48      public Vertex getSource() {
49          return source;
50      }
51  
52      public void setSource(Vertex source) {
53          this.source = source;
54      }
55  
56      public Vertex getDestination() {
57          return destination;
58      }
59  
60      public void setDestination(Vertex destination) {
61          this.destination = destination;
62      }
63  
64      public String getCommID() {
65          return commID;
66      }
67  
68      public void setCommID(String commID) {
69          this.commID = commID;
70      }
71  
72      public String getListOfVehicles() {
73          return listOfVehicles;
74      }
75  
76      public void setListOfVehicles(String listOfVehicles) {
77          this.listOfVehicles = listOfVehicles;
78      }
79  
80      private Vertex destination;
81      
82      private String commID;
83      
84      private String listOfVehicles;
85      
86  }
87