openehr-lang 0.0.2

openEHR LANG 1.0.0: BMM/P_BMM object model (generated from BMM) plus a hand-written ODIN instance parser (the `odin` module — deliberately off the codegen path).
Documentation
// @generated by openehr-codegen from BMM (`BMM_PROPERTY`) — DO NOT EDIT.

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

use crate::bmm3::core::feature::bmm_container_property::BmmContainerProperty;
use crate::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),
}