GenericDocumentType

data class GenericDocumentType(val name: String, val fullName: String, val normalizedName: String, val listIndex: Int? = null) : Parcelable

Generic Document Type.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(name: String, fullName: String, normalizedName: String, listIndex: Int? = null)

Properties

Link copied to clipboard

Unique global document type name prefixed with the document types of all containing documents.

Link copied to clipboard
val listIndex: Int? = null

A document can contain multiple fields of the same name, the property serves for storing natural order of such fields, null if multiple entries aren't allowed for this field.

Link copied to clipboard

Local document type name.

Link copied to clipboard

Normalized global document type name. Common document types appearing as child documents in different places will often have the same normalized type name.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject