Loading...
Searching...
No Matches
RouteInstruction.java
Go to the documentation of this file.
1package com.navigine.idl.java;
2
19public final class RouteInstruction {
20
21
22 /*package*/ final RouteAnnotationType type;
23
24 /*package*/ final GlobalPoint point;
25
26 /*package*/ final Integer sublocationId;
27
28 /*package*/ final float distance;
29
30 /*package*/ final String title;
31
37 GlobalPoint point,
38 Integer sublocationId,
39 float distance,
40 String title) {
41 this.type = type;
42 this.point = point;
43 this.sublocationId = sublocationId;
44 this.distance = distance;
45 this.title = title;
46 }
47
52 return type;
53 }
54
59 return point;
60 }
61
65 public Integer getSublocationId() {
66 return sublocationId;
67 }
68
72 public float getDistance() {
73 return distance;
74 }
75
79 public String getTitle() {
80 return title;
81 }
82
83 @Override
84 public String toString() {
85 return "RouteInstruction{" +
86 "type=" + type +
87 "," + "point=" + point +
88 "," + "sublocationId=" + sublocationId +
89 "," + "distance=" + distance +
90 "," + "title=" + title +
91 "}";
92 }
93
94}