summaryrefslogtreecommitdiff
path: root/src/traffic-incidents-service/org.genivi.trafficinfo/src/org/genivi/trafficincidentsservice/DefaultTrafficIncidentsListener.java
blob: 0cd7a81a15ddf45ce724ff7b0d3bf4a240cf1fae (plain)
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
/**
 * Copyright (C) 2013 TomTom International B.V.
 * 
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
package org.genivi.trafficincidentsservice;

import java.util.logging.Logger;

import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.impl.EObjectImpl;
import org.genivi.common.RectangularArea;
import org.genivi.common.Version;
import org.genivi.iconset.IconDefinition;
import org.genivi.iconset.IconSet;
import org.genivi.trafficincidentsservice.trafficincidents.trafficincident.TrafficIncident;

public class DefaultTrafficIncidentsListener extends EObjectImpl implements TrafficIncidentsListener {
  private final static Logger LOGGER = Logger.getLogger(DefaultTrafficIncidentsListener.class.getName());

  @Override
  public void getVersionReply(Version version) {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to getVersionReply ignored!");
  }

  @Override
  public void getLanguageReply(String languageCode, String countryCode) {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to getLanguageReply ignored!");
  }

  @Override
  public void setLanguageReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to setLanguageReply ignored!");
  }

  @Override
  public void setTimeFormatReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to setTimeFormatReply ignored!");
  }

  @Override
  public void setDateFormatReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to setDateFormatReply ignored!");
  }

  @Override
  public void setLengthUnitReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to setLengthUnitReply ignored!");
  }

  @Override
  public void setWeightUnitReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to setWeightUnitReply ignored!");
  }

  @Override
  public void getApplicabilityReply(String filterExpression) {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to getApplicabilityReply ignored!");
  }

  @Override
  public void setApplicabilityReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to setApplicabilityReply ignored!");
  }

  @Override
  public void reserveIconSetIdsReply(EList<Integer> iconSetIds) {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to reserveIconSetIdsReply ignored!");
  }

  @Override
  public void freeIconSetIdsReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to freeIconSetIdsReply ignored!");
  }

  @Override
  public void getIconSetsReply(EList<IconSet> iconSets) {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to getIconSetsReply ignored!");
  }

  @Override
  public void addIconSetDefinitionsReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to addIconSetsDefinitionsReply ignored!");
  }

  @Override
  public void removeIconSetDefinitionsReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to removeIconSetDefinitionsReply ignored!");
  }

  @Override
  public void getIconDefinitionsReply(EList<IconDefinition> iconDefinitions) {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to getIconDefinitionsReply ignored!");
  }

  @Override
  public void addIconDefinitionsReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to addIconDefinitionsReply ignored!");
  }

  @Override
  public void removeIconDefinitionsReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to addIconDefinitionsReply ignored!");
  }

  @Override
  public void reserveCategoryIdsReply(EList<Integer> categoryIds) {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to reserveCategoryIdsReply ignored!");
  }

  @Override
  public void freeCategoryIdsReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to freeCategoryIdsReply ignored!");
  }

  @Override
  public void getCategoryDefinitionsReply(EList<CategoryDefinition> categoryDefinitions) {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to getCategoryDefinitionsReply ignored!");
  }

  @Override
  public void addCategoryDefinitionsReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to addCategoryDefinitionsReply ignored!");
  }

  @Override
  public void removeCategoryDefinitionsReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to removeCategoryDefinitionsReply ignored!");
  }
  
  @Override
  public void getTrafficIncidentIdsReply(EList<Integer> incidentIds) {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to getTrafficIncidentIdsReply ignored!");
  }

  @Override
  public void getTrafficIncidentIdsInAreasReply(EList<Integer> trafficIncidentIds) {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to getTrafficIncidentIdsInAreasReply ignored!");
  }

  @Override
  public void getTrafficIncidentsReply(EList<TrafficIncident> trafficIncidents) {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to getTrafficIncidentsReply ignored!");
  }

  @Override
  public void getTrafficIncidentsFieldsReply(EList<TrafficIncident> trafficIncidents) {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to getTrafficIncidentsFieldsReply ignored!");
  }

  @Override
  public void getTextsReply(EList<String> texts) {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to getTextsReply ignored!");
  }

  @Override
  public void addTrafficIncidentsStatusListenerReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to addTrafficIncidentsStatusListenerReply ignored!");
  }

  @Override
  public void removeTrafficIncidentsStatusListenerReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to removeTrafficIncidentsStatusListenerReply ignored!");
  }

  @Override
  public void addFeedInformationListenerReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to addFeedInformationListenerReply ignored!");
  }

  @Override
  public void removeFeedInformationListenerReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to removeFeedInformationListenerReply ignored!");
  }

  @Override
  public void addUpdateListenerReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to addUpdateListenerReply ignored!");
  }

  @Override
  public void removeUpdateListenerReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to removeUpdateListenerReply ignored!");
  }

  @Override
  public void addAreasUpdateListenerReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to addAreasUpdateListenerReply ignored!");
  }

  @Override
  public void removeAreasUpdateListenerReply() {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to removeAreasUpdateListenerReply ignored!");
  }

  @Override
  public void trafficIncidentsStatus(
      TrafficIncidentFeedStatus trafficIncidentFeedStatus,
      TrafficIncidentsStatus trafficIncidentsStatus) {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to trafficIncidentsStatus ignored!");
  }

  @Override
  public void feedInformation(EList<FeedInformation> feedsInformation) {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to feedInformation ignored!");
  }

  @Override
  public void updates(EList<Integer> unchangedTrafficIncidentIds, EList<Integer> changedTrafficIncidentIds, EList<Integer> newTrafficIncidentIds, EList<Integer> deletedTrafficIncidentIds) {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to updates ignored!");
  }

  @Override
  public void updatesInAreas(EList<RectangularArea> areas) {
    // No action. Override this method if action is needed.
    LOGGER.severe("Call to updatesInAreas ignored!");
  }
}