Trait bpxe_bpmn_schema::ActivityTypeMut [−][src]
Mutable access to activity
Required methods
fn set_is_for_compensation(&mut self, value: Option<bool>)
[src]
Set value of attribute isForCompensation
fn set_start_quantity(&mut self, value: Option<Integer>)
[src]
Set value of attribute startQuantity
fn set_completion_quantity(&mut self, value: Option<Integer>)
[src]
Set value of attribute completionQuantity
fn set_default(&mut self, value: Option<String>)
[src]
Set value of attribute default
fn io_specification_mut(&mut self) -> &mut Option<InputOutputSpecification>
[src]
Get a mutable value of ioSpecification
child
fn set_io_specification(&mut self, value: Option<InputOutputSpecification>)
[src]
Set value of ioSpecification
child
fn properties_mut(&mut self) -> &mut Vec<Property>
[src]
Get a mutable value of property
child
fn set_properties(&mut self, value: Vec<Property>)
[src]
Set value of property
child
fn data_input_associations_mut(&mut self) -> &mut Vec<DataInputAssociation>
[src]
Get a mutable value of dataInputAssociation
child
fn set_data_input_associations(&mut self, value: Vec<DataInputAssociation>)
[src]
Set value of dataInputAssociation
child
fn data_output_associations_mut(&mut self) -> &mut Vec<DataOutputAssociation>
[src]
Get a mutable value of dataOutputAssociation
child
fn set_data_output_associations(&mut self, value: Vec<DataOutputAssociation>)
[src]
Set value of dataOutputAssociation
child
fn resource_roles_mut(&mut self) -> &mut Vec<ResourceRole>
[src]
Get a mutable value of resourceRole
child
fn set_resource_roles(&mut self, value: Vec<ResourceRole>)
[src]
Set value of resourceRole
child
fn loop_characteristics_mut(&mut self) -> &mut Option<LoopCharacteristics>
[src]
Get a mutable value of loopCharacteristics
child
fn set_loop_characteristics(&mut self, value: Option<LoopCharacteristics>)
[src]
Set value of loopCharacteristics
child
Implementations
impl dyn ActivityTypeMut
[src]
pub fn is<__T: ActivityTypeMut>(&self) -> bool
[src]
Returns true if the trait object wraps an object of type __T
.
pub fn downcast<__T: ActivityTypeMut>(
self: Box<Self>
) -> Result<Box<__T>, Box<Self>>
[src]
self: Box<Self>
) -> Result<Box<__T>, Box<Self>>
Returns a boxed object from a boxed trait object if the underlying object is of type
__T
. Returns the original boxed trait if it isn't.
pub fn downcast_rc<__T: ActivityTypeMut>(
self: Rc<Self>
) -> Result<Rc<__T>, Rc<Self>>
[src]
self: Rc<Self>
) -> Result<Rc<__T>, Rc<Self>>
Returns an Rc
-ed object from an Rc
-ed trait object if the underlying object is of
type __T
. Returns the original Rc
-ed trait if it isn't.
pub fn downcast_ref<__T: ActivityTypeMut>(&self) -> Option<&__T>
[src]
Returns a reference to the object within the trait object if it is of type __T
, or
None
if it isn't.
pub fn downcast_mut<__T: ActivityTypeMut>(&mut self) -> Option<&mut __T>
[src]
Returns a mutable reference to the object within the trait object if it is of type
__T
, or None
if it isn't.