Skip to content

base_element

BPMN BaseElements and shallow subclasses.

CLASS DESCRIPTION
BaseElement

BaseElement is the abstract super class for most BPMN elements.

RootElement

RootElement is the abstract super class for all BPMN elements that are contained within Definitions.

Classes

BaseElement dataclass

BaseElement(
    *,
    id: Optional[str] = None,
    documentation: list[Documentation] = list(),
    extension_elements: Optional[ExtensionElements] = None
)

BaseElement is the abstract super class for most BPMN elements.

It provides the attributes id and documentation, which other elements will inherit.

ATTRIBUTE DESCRIPTION
documentation

This attribute is used to annotate the BPMN element, such as descriptions and other documentation.

TYPE: list[Documentation]

extension_elements

This element is used to add additional information to the element.

TYPE: Optional[ExtensionElements]

id

This attribute is used to uniquely identify BPMN elements.

TYPE: Optional[str]

Attributes

documentation class-attribute instance-attribute
documentation: list[Documentation] = field(
    default_factory=list,
    metadata={
        "type": "Element",
        "namespace": "http://www.omg.org/spec/BPMN/20100524/MODEL",
    },
)

This attribute is used to annotate the BPMN element, such as descriptions and other documentation.

extension_elements class-attribute instance-attribute
extension_elements: Optional[ExtensionElements] = field(
    default=None,
    metadata={
        "name": "extensionElements",
        "type": "Element",
        "namespace": "http://www.omg.org/spec/BPMN/20100524/MODEL",
    },
)

This element is used to add additional information to the element.

id class-attribute instance-attribute
id: Optional[str] = field(default=None, metadata={'type': 'Attribute'})

This attribute is used to uniquely identify BPMN elements.

The id is REQUIRED if this element is referenced or intended to be referenced by something else. If the element is not currently referenced and is never intended to be referenced, the id MAY be omitted.

RootElement dataclass

RootElement(
    *,
    id: Optional[str] = None,
    documentation: list[Documentation] = list(),
    extension_elements: Optional[ExtensionElements] = None
)

Bases: BaseElement

RootElement is the abstract super class for all BPMN elements that are contained within Definitions.

Functions