// @generated by openehr-codegen from BMM (`P_BMM_SINGLE_FUNCTION_PARAMETER`) — DO NOT EDIT.
// SPDX-FileCopyrightText: Cadasto B.V.
// SPDX-FileCopyrightText: openEHR Foundation
// SPDX-License-Identifier: Apache-2.0
//! The openEHR `P_BMM_SINGLE_FUNCTION_PARAMETER` spec class, generated from the vendored BMM
//! meta-model.
/// Persistent form of a single-valued function parameter, i.e. one whose type is a simple class reference.
#[doc(alias = "P_BMM_SINGLE_FUNCTION_PARAMETER")]
#[derive(Debug, Clone, PartialEq)]
pub struct PBmmSingleFunctionParameter {
// inherited: P_BMM_MODEL_ELEMENT
/// Optional documentation of this element.
pub documentation: Option<String>,
// inherited: P_BMM_FUNCTION_PARAMETER
/// Name of this parameter within its function signature. Persisted attribute.
pub name: String,
/// True if this parameter is allowed to be Void (null) in a call. Persisted attribute.
pub is_nullable: Option<bool>,
/// Type name of this parameter, as a simple class name. Persisted attribute.
pub r#type: String,
}