app / sg.edu.ntu.scse.cz2006.gymbuddies.datastruct / GymList / GymProperties

GymProperties

data class GymProperties

Inner class containing all of the gym properties

Author
Kenneth Soh

Since
2019-09-17

Constructors

<init>

Part of the GymShell object. See that for more information

GymProperties(Name: String = "", description: String = "", altitudeMode: String = "clampToGround", INC_CRC: String = "PRIMARYKEY", ADDRESSPOSTALCODE: String = "111111", ADDRESSUNITNUMBER: String? = null, ADDRESSBUILDINGNAME: String? = null, ADDRESSFLOORNUMBER: String? = null, ADDRESSSTREETNAME: String = "Knn Francis Rd", ADDRESSBLOCKHOUSENUMBER: String? = null)

Properties

ADDRESSBLOCKHOUSENUMBER

String? Gym Block House Number (if any)

val ADDRESSBLOCKHOUSENUMBER: String?

ADDRESSBUILDINGNAME

String? Gym Building Name (if any)

val ADDRESSBUILDINGNAME: String?

ADDRESSFLOORNUMBER

String? Gym Floor Number (if any)

val ADDRESSFLOORNUMBER: String?

ADDRESSPOSTALCODE

String Gym Postal Code

val ADDRESSPOSTALCODE: String

ADDRESSSTREETNAME

String Gym Street Name (if any)

val ADDRESSSTREETNAME: String

ADDRESSUNITNUMBER

String? Gym Unit Number (if any)

val ADDRESSUNITNUMBER: String?

altitudeMode

String Altitude Mode defined for this gym

val altitudeMode: String

description

String Gym Description

val description: String

INC_CRC

String Gym Unique ID

val INC_CRC: String

Name

String Gym Name

val Name: String

Functions

getPostalCodeInt

Gets the gym postal code as a Int

fun getPostalCodeInt(): Int