NCMBBase

open class NCMBBase

Base class for NCMBObject.

This class do necessary tasks such as put/set interface methods even internal tasks, which will be base for NCMBObject.

Constructors

NCMBBase
Link copied to clipboard
fun NCMBBase()

Functions

get
Link copied to clipboard
fun get(key: String): Any?

get any type value to given key

getAcl
Link copied to clipboard
fun getAcl(): NCMBAcl
getArray
Link copied to clipboard
fun getArray(key: String, value: JSONArray? = null): JSONArray?

get JSONArray value from given key

getBoolean
Link copied to clipboard
fun getBoolean(key: String, value: Boolean? = null): Boolean?

get boolean value from given key

getCreateDate
Link copied to clipboard
fun getCreateDate(): Date?
getDate
Link copied to clipboard
fun getDate(key: String, value: Date? = null): Date?
getDouble
Link copied to clipboard
fun getDouble(key: String, value: Double? = null): Double?

get double value from given key

getGeo
Link copied to clipboard
fun getGeo(key: String): NCMBGeoPoint

get NCMBGeoPoint value from given key

getInt
Link copied to clipboard
fun getInt(key: String, value: Int? = null): Int?

get int value from given key

getJson
Link copied to clipboard
fun getJson(key: String, value: JSONObject? = null): JSONObject?

get JSONObject value from given key

getObjectId
Link copied to clipboard
fun getObjectId(): String?
getString
Link copied to clipboard
open fun getString(key: String, value: String? = null): String?

get string value from given key

getUpdateDate
Link copied to clipboard
fun getUpdateDate(): Date?
isContainsKey
Link copied to clipboard
fun isContainsKey(key: String?): Boolean

Check key is in keys

put
Link copied to clipboard
fun put(key: String, value: Any)

put any type value to given key

setAcl
Link copied to clipboard
fun setAcl(acl: NCMBAcl)
setCreateDate
Link copied to clipboard
open fun setCreateDate(createDate: Date)
setObjectId
Link copied to clipboard
fun setObjectId(objectId: String)

Properties

ACCESS_CONTROL_LIST
Link copied to clipboard
val ACCESS_CONTROL_LIST: String

ACL

keys
Link copied to clipboard
var keys: HashSet<String>

Inheritors

NCMBObject
Link copied to clipboard