Struct dmntk_model::model::Definitions
source · [−]pub struct Definitions { /* private fields */ }
Expand description
Definitions element is the outermost containing object for all elements of a DMN decision model. It defines the scope of visibility and the namespace for all contained elements.
Implementations
Returns the reference to the namespace associated with this Definitions.
Returns the reference to optional expression language used within the scope of this Definitions.
Returns reference to the type language used within the scope of this Definitions.
Returns reference to the name of the tool used to export the XML serialization.
Returns reference to the version of the tool used to export the XML serialization.
pub fn item_definitions(&self) -> &Vec<ItemDefinition>ⓘ
pub fn item_definitions(&self) -> &Vec<ItemDefinition>ⓘ
Returns reference to the container of instances of ItemDefinition contained in this Definitions.
pub fn item_definitions_mut(&mut self) -> &mut Vec<ItemDefinition>ⓘ
pub fn item_definitions_mut(&mut self) -> &mut Vec<ItemDefinition>ⓘ
Returns mutable reference to the container of instances of ItemDefinition contained in this Definitions.
Returns an optional reference to ItemDefinition with specified name or None when such ItemDefinition was not found in this Definitions.
Returns a vector of references to decisions.
Returns an optional reference to Decision with specified identifier or None when such Decision was not found among instances of DrgElement.
Returns an optional reference to Decision with specified name or None when such Decision was not found among instances of DrgElement.
pub fn business_knowledge_models(&self) -> Vec<&BusinessKnowledgeModel>ⓘ
pub fn business_knowledge_models(&self) -> Vec<&BusinessKnowledgeModel>ⓘ
Returns a vector of references to business knowledge models.
Returns an optional reference to BusinessKnowledgeModel with specified identifier or None when such BusinessKnowledgeModel was not found among instances of DrgElement.
pub fn business_knowledge_model_by_name(
&self,
name: &str
) -> Option<&BusinessKnowledgeModel>
pub fn business_knowledge_model_by_name(
&self,
name: &str
) -> Option<&BusinessKnowledgeModel>
Returns an optional reference to BusinessKnowledgeModel with specified name or None when such BusinessKnowledgeModel was not found among instances of DrgElement.
pub fn decision_services(&self) -> Vec<&DecisionService>ⓘ
pub fn decision_services(&self) -> Vec<&DecisionService>ⓘ
Returns a vector of references to decision services.
Returns an optional reference to DecisionService with specified identifier or None when such DecisionService was not found among instances of DrgElement.
Returns an optional reference to DecisionService with specified name or None when such DecisionService was not found among instances of DrgElement.
Returns an optional reference to InputData with specified identifier or None when such InputData was not found among instances of DrgElement).
Returns an optional reference to KnowledgeSource with specified identifier or None when such KnowledgeSource was not found among instances of DrgElements).
pub fn business_context_elements(&self) -> &Vec<BusinessContextElementInstance>ⓘ
pub fn business_context_elements(&self) -> &Vec<BusinessContextElementInstance>ⓘ
Returns reference to the container of instances of BusinessContextElement contained in this Definitions.
Returns reference to the container of instances of Import contained in this Definitions.
pub fn drg_elements_mut(&mut self) -> &mut Vec<DrgElement>ⓘ
pub fn drg_elements_mut(&mut self) -> &mut Vec<DrgElement>ⓘ
Returns reference to DrgElements container.
Trait Implementations
Returns reference to optional identifier for this Definitions.
Returns reference to optional description of this Definitions.
Returns reference to optional alternative short description of this Definitions.
Returns reference to attached additional elements to any Definitions.
fn extension_attributes(&self) -> &Vec<ExtensionAttribute>ⓘ
fn extension_attributes(&self) -> &Vec<ExtensionAttribute>ⓘ
Returns reference to attached named extended attributes and model associations to any Definitions.
Auto Trait Implementations
impl RefUnwindSafe for Definitions
impl Send for Definitions
impl Sync for Definitions
impl Unpin for Definitions
impl UnwindSafe for Definitions
Blanket Implementations
Mutably borrows from an owned value. Read more