Builder
data class Builder(val namespace: String, val dataElements: MutableMap<String, MdocDataElement> = mutableMapOf())
Builder class for class MdocNamespace.
Parameters
namespace
the namespace of this part of the ISO mdoc Document Type.
dataElements
the data elements in this namespace.
Functions
Link copied to clipboard
fun addDataElement(type: DocumentAttributeType, identifier: String, displayName: String, description: String, mandatory: Boolean, icon: Icon?, sampleValue: DataItem?): MdocNamespace.Builder
Add a data element to a namespace in the ISO mdoc Document Type.
Link copied to clipboard
Build the MdocNamespace.