Class Line
Warning
This feature is available in the Full MapKit SDK version
Package world.mappable.mapkit.transport.masstransit
java.lang.Object
↳ world.mappable.mapkit.transport.masstransit.Line
All Superinterfaces:
class Line implements BaseMetadata, Serializable
Describes a public transport line.
Nested Class Summary
Modifier and Type |
Interface |
Description |
|
Describes the style of line. |
Summary
Constructors
Signature and Description |
Line() |
Line(@NonNull java.lang.String id, |
Methods
Type and modifiers |
Method and Description |
|
getId() |
|
getName() |
|
getVehicleTypes() |
|
getStyle() |
|
getIsNight() |
|
getUri() |
|
getShortName() |
|
getTransportSystemId() |
void |
serialize(world.mappable.runtime.bindings.Archive archive) |
|
Constuctors
Line
Line() |
Use constructor with parameters in your code.
This one is for serialization only!
Line
Line(@NonNull java.lang.String id, |
Methods
getId
@NonNull |
Line ID.
getName
@NonNull |
Line name.
getVehicleTypes
@NonNull |
List of line types.
Starts from the most detailed, ends with the most general.
getStyle
@Nullable |
Line style; see mapkit.transport.masstransit.Line.Style.
Optional field, can be null.
getIsNight
boolean getIsNight() |
True if the line operates only at night.
getUri
@Nullable |
URI for a line.
Optional field, can be null.
getShortName
@Nullable |
Subway short line name.
Optional field, can be null.
getTransportSystemId
@Nullable |
Subway transport system ID.
Optional field, can be null.
serialize
@Override |
getNativeName
java.lang.String getNativeName() |