[][src]Trait bpxe_bpmn_schema::OperationType

pub trait OperationType: BaseElementType + Downcast + Debug + Send + DynClone {
    pub fn name(&self) -> &String;
pub fn implementation_ref(&self) -> &Option<String>;
pub fn in_message_ref(&self) -> &String;
pub fn out_message_ref(&self) -> &Option<String>;
pub fn error_refs(&self) -> &Vec<String>; }

Access to operation

Required methods

pub fn name(&self) -> &String[src]

Get value of attribute name

pub fn implementation_ref(&self) -> &Option<String>[src]

Get value of attribute implementationRef

pub fn in_message_ref(&self) -> &String[src]

Get value of inMessageRef child

pub fn out_message_ref(&self) -> &Option<String>[src]

Get value of outMessageRef child

pub fn error_refs(&self) -> &Vec<String>[src]

Get value of errorRef child

Loading content...

Implementations

impl dyn OperationType[src]

pub fn is<__T: OperationType>(&self) -> bool[src]

Returns true if the trait object wraps an object of type __T.

pub fn downcast<__T: OperationType>(
    self: Box<Self>
) -> Result<Box<__T>, Box<Self>>
[src]

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: OperationType>(
    self: Rc<Self>
) -> Result<Rc<__T>, Rc<Self>>
[src]

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: OperationType>(&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: OperationType>(&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.

Implementors

impl OperationType for Operation[src]

Loading content...