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
|
/**
* 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.trafficincidentfeed.dbus;
import java.util.List;
import org.freedesktop.dbus.Position;
import org.freedesktop.dbus.Struct;
public class TrafficIncidentStruct extends Struct {
@Position(0)
public final String trafficIncidentId;
@Position(1)
public final Byte effectCode; // EffectCode
@Position(2)
public final Integer startTime;
@Position(3)
public final Integer stopTime;
@Position(4)
public final Byte tendency; // Tendency
@Position(5)
public final Integer lengthAffected;
@Position(6)
public final Integer averageSpeedAbsolute;
@Position(7)
public final Integer delay;
@Position(8)
public final Integer segmentSpeedLimit;
@Position(9)
public final Integer expectedSpeedAbsolute;
@Position(10)
public final List<CauseDiscriminatedVariant> causes;
@Position(11)
public final List<AdviceStruct> advices;
@Position(12)
public final List<ApplicabilityStruct> applicability;
@Position(13)
public final List<TemporarySpeedLimitStruct> temporarySpeedLimits;
@Position(14)
public final Integer expirationTime;
@Position(15)
public final Integer updateTime;
@Position(16)
public final LocationReferenceStruct locationReference;
public TrafficIncidentStruct(
String trafficIncidentManagementId,
Byte effectCode,
Integer startTime,
Integer stopTime,
Byte tendency,
Integer lengthAffected,
Integer averageSpeedAbsolute,
Integer delay,
Integer segmentSpeedLimit,
Integer expectedSpeedAbsolute,
List<CauseDiscriminatedVariant> causes,
List<AdviceStruct> advices,
List<ApplicabilityStruct> applicability,
List<TemporarySpeedLimitStruct> temporarySpeedLimits,
Integer expirationTime,
Integer updateTime,
LocationReferenceStruct locationReference
) {
super();
this.trafficIncidentId = trafficIncidentManagementId;
this.effectCode = effectCode;
this.startTime = startTime;
this.stopTime = stopTime;
this.tendency = tendency;
this.lengthAffected = lengthAffected;
this.averageSpeedAbsolute = averageSpeedAbsolute;
this.delay = delay;
this.segmentSpeedLimit = segmentSpeedLimit;
this.expectedSpeedAbsolute = expectedSpeedAbsolute;
this.causes = causes;
this.advices = advices;
this.applicability = applicability;
this.temporarySpeedLimits = temporarySpeedLimits;
this.expirationTime = expirationTime;
this.updateTime = updateTime;
this.locationReference = locationReference;
}
}
|