We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 118dbbf commit af52769Copy full SHA for af52769
6 files changed
src/main/kotlin/fi/hsl/jore4/hastus/data/hastus/Place.kt
@@ -8,8 +8,8 @@ package fi.hsl.jore4.hastus.data.hastus
8
* @constructor Creates a Hastus Place
9
*/
10
data class Place(
11
- private val identifier: String,
12
- private val description: String
+ val identifier: String,
+ val description: String
13
) : HastusData() {
14
15
override fun getFields(): List<Any> = listOf(identifier, description)
src/main/kotlin/fi/hsl/jore4/hastus/data/hastus/Route.kt
@@ -11,11 +11,11 @@ package fi.hsl.jore4.hastus.data.hastus
* @constructor Create a Route with given values
data class Route(
- private val description: String,
16
- private val serviceType: Int = 0,
17
- private val direction: Int = 0,
18
- private val serviceMode: Int
+ val description: String,
+ val serviceType: Int = 0,
+ val direction: Int = 0,
+ val serviceMode: Int
19
20
21
override fun getFields(): List<Any> = listOf(identifier, description, serviceType, direction, serviceMode)
src/main/kotlin/fi/hsl/jore4/hastus/data/hastus/RouteVariant.kt
@@ -12,12 +12,12 @@ package fi.hsl.jore4.hastus.data.hastus
* @constructor Create a Route variant with the given values
data class RouteVariant(
- private val direction: Int,
- private val reversible: Boolean = false,
- private val routeIdAndVariantId: String,
- private val routeId: String
+ val direction: Int,
+ val reversible: Boolean = false,
+ val routeIdAndVariantId: String,
+ val routeId: String
22
23
override fun getFields(): List<Any> =
src/main/kotlin/fi/hsl/jore4/hastus/data/hastus/RouteVariantPoint.kt
@@ -16,13 +16,13 @@ import fi.hsl.jore4.hastus.data.format.NumberWithAccuracy
* @constructor Create empty Route variant point
data class RouteVariantPoint(
- private val place: String?,
- private val specTpDistance: NumberWithAccuracy?,
- private val isTimingPoint: Boolean,
- private val allowLoadTime: Boolean,
- private val regulatedTp: Boolean,
24
- private val stopLabel: String,
25
- private val routeIdAndVariantId: String
+ val place: String?,
+ val specTpDistance: NumberWithAccuracy?,
+ val isTimingPoint: Boolean,
+ val allowLoadTime: Boolean,
+ val regulatedTp: Boolean,
+ val stopLabel: String,
+ val routeIdAndVariantId: String
26
27
28
init {
src/main/kotlin/fi/hsl/jore4/hastus/data/hastus/Stop.kt
@@ -18,16 +18,16 @@ import fi.hsl.jore4.hastus.data.format.NumberWithAccuracy
* @constructor Create a Hastus Stop with given values
data class Stop(
- private val platform: String,
- private val descriptionFinnish: String,
- private val descriptionSwedish: String,
- private val streetFinnish: String,
- private val streetSwedish: String,
- private val gpsX: NumberWithAccuracy,
29
- private val gpsY: NumberWithAccuracy,
30
- private val shortIdentifier: String
+ val platform: String,
+ val descriptionFinnish: String,
+ val descriptionSwedish: String,
+ val streetFinnish: String,
+ val streetSwedish: String,
+ val gpsX: NumberWithAccuracy,
+ val gpsY: NumberWithAccuracy,
+ val shortIdentifier: String
31
32
33
override fun getFields(): List<Any> = listOf(
src/main/kotlin/fi/hsl/jore4/hastus/data/hastus/StopDistance.kt
@@ -12,7 +12,7 @@ package fi.hsl.jore4.hastus.data.hastus
data class StopDistance(
val stopStart: String,
val stopEnd: String,
- private val baseInService: Boolean = true,
+ val baseInService: Boolean = true,
val editedDistance: Int
0 commit comments