addMdocAttribute
fun addMdocAttribute(type: DocumentAttributeType, identifier: String, displayName: String, description: String, mandatory: Boolean, mdocNamespace: String, icon: Icon? = null, sampleValue: DataItem? = null): DocumentType.Builder
Add an attribute for ISO mdoc only.
Parameters
type
the datatype of this attribute.
identifier
the identifier of this attribute.
displayName
a name suitable for display of the attribute.
description
a description of the attribute.
mandatory
indication whether the ISO mdoc attribute is mandatory.
mdocNamespace
the namespace of the ISO mdoc attribute.
icon
the icon, if available.
sampleValue
a sample value for the attribute, if available.