Path

Creates a new Path instance.

Author

Arnau Mora

Since

20210724

Constructors

Link copied to clipboard
fun Path(data: JSONObject, pathId: String)

Initializes the Path from the values gotten from the Data module.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open operator override fun compareTo(other: Path): Int
Link copied to clipboard
fun data(): PathData
Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard

Returns a map used to display the stored data to the user. Keys should be the parameter name, and the value the value to display. Should be overridden by target class.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
suspend fun getParent(application: App): Sector?

Returns the parent Sector of the Path.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
var buildPatch: Patch? = null

Contains data about who built the path.

Link copied to clipboard
Link copied to clipboard
open override val displayName: String
Link copied to clipboard
val downloaded: Boolean = false
Link copied to clipboard
Link copied to clipboard

The general ending of the path.

Link copied to clipboard

The general grade of the path.

Link copied to clipboard

The general height of the path. May be null if not set.

Link copied to clipboard
Link copied to clipboard
open override val objectId: String
Link copied to clipboard
Link copied to clipboard

All the patches made on the path.

Link copied to clipboard

A list of the data of each pitch of the path.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val timestampMillis: Long