// @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),
}