Trait dmntk_model::model::DmnElement [−][src]
pub trait DmnElement { fn id(&self) -> &Option<String>; fn description(&self) -> &Option<String>; fn label(&self) -> &Option<String>; fn extension_elements(&self) -> &Option<ExtensionElement>; fn extension_attributes(&self) -> &Vec<ExtensionAttribute>; }
Expand description
DmnElement is the abstract superclass for the Decision Model elements.
It provides the optional attributes id
, description
and label
,
which other elements will inherit.
Required methods
Returns reference to optional identifier for this DmnElement. This identifier SHALL be unique within its containing Definitions element.
fn description(&self) -> &Option<String>
fn description(&self) -> &Option<String>
Returns reference to optional description of this DmnElement.
Returns reference to optional alternative short description of this DmnElement.
fn extension_elements(&self) -> &Option<ExtensionElement>
fn extension_elements(&self) -> &Option<ExtensionElement>
Returns reference to attached additional elements to any DmnElement.
fn extension_attributes(&self) -> &Vec<ExtensionAttribute>
fn extension_attributes(&self) -> &Vec<ExtensionAttribute>
Returns reference to attached named extended attributes and model associations to any DmnElement.