1
2
3
4 package org.opentrafficsim.road.network.factory.shape;
5
6 import org.opentrafficsim.core.network.OTSNode;
7
8 import com.vividsolutions.jts.geom.Geometry;
9
10
11
12
13 public class NWBSpecialLane extends AbstractNWBRoadElement
14 {
15
16 private String laneType;
17
18
19 private Integer numberOfLanes;
20
21
22 private String sideCode;
23
24
25
26
27
28
29
30
31
32
33
34
35
36 public NWBSpecialLane(Geometry myGeom, OTSNode startNode, OTSNode endNode, String roadId, Double beginDistance,
37 Double endDistance, String laneType, Integer numberOfLanes, String sideCode)
38 {
39 super(myGeom, startNode, endNode, roadId, beginDistance, endDistance);
40 this.laneType = laneType;
41 this.numberOfLanes = numberOfLanes;
42 this.sideCode = sideCode;
43 }
44
45 public String getLaneType()
46 {
47 return laneType;
48 }
49
50 public Integer getNumberOfLanes()
51 {
52 return numberOfLanes;
53 }
54
55 public String getSideCode()
56 {
57 return sideCode;
58 }
59
60 }