openehr-am 0.0.78

openEHR AM Archetype Model, generated from BMM: generations v1_4 (AM 1.4.0, ADL 1.4) and v2_4 (AM 2.4.0, ADL 2; current)
Documentation
// @generated by openehr-codegen from BMM (`BMM_PROPERTY`) — DO NOT EDIT.
// SPDX-FileCopyrightText: Vernum Projecten B.V.
// SPDX-FileCopyrightText: openEHR Foundation
// SPDX-License-Identifier: Apache-2.0

//! The openEHR `BMM_PROPERTY` spec class, generated from the vendored BMM
//! meta-model.

use crate::v2_4::bmm::core::bmm_container_property::BmmContainerProperty;
use crate::v2_4::bmm3::core::feature::bmm_unitary_property::BmmUnitaryProperty;

/// Closed subtype set of `BMM_PROPERTY`, dispatched on each payload's `_type`.
///
/// Meta-type of a writable property definition within a class definition of an object model.
///
/// The `_is_composition_` attribute indicates whether the property has sub-part or an association semantics with respect to the owning class.
#[doc(alias = "BMM_PROPERTY")]
#[derive(Debug, Clone, PartialEq)]
pub enum BmmProperty {
    /// The `BMM_CONTAINER_PROPERTY` subtype of `BMM_PROPERTY`.
    BmmContainerProperty(BmmContainerProperty),
    /// The `BMM_UNITARY_PROPERTY` subtype of `BMM_PROPERTY`.
    BmmUnitaryProperty(BmmUnitaryProperty),
}