definitions
Represents the BPMN definitions object.
| CLASS | DESCRIPTION |
|---|---|
Definitions |
The Definitions class is the outermost object container for all BPMN elements. |
Classes¶
Definitions
dataclass
¶
Definitions(
*,
imports: list[Import] = list(),
extensions: list[Extension] = list(),
signals: list[Signal] = list(),
resources: list[Resource] = list(),
processes: list[Process] = list(),
partner_roles: list[PartnerRole] = list(),
partner_entities: list[PartnerEntity] = list(),
messages: list[Message] = list(),
item_definitions: list[ItemDefinition] = list(),
interfaces: list[Interface] = list(),
global_user_tasks: list[GlobalUserTask] = list(),
global_tasks: list[GlobalTask] = list(),
global_script_tasks: list[GlobalScriptTask] = list(),
global_manual_tasks: list[GlobalManualTask] = list(),
global_business_rule_tasks: list[GlobalBusinessRuleTask] = list(),
timer_event_definitions: list[TimerEventDefinition] = list(),
terminate_event_definitions: list[TerminateEventDefinition] = list(),
signal_event_definitions: list[SignalEventDefinition] = list(),
message_event_definitions: list[MessageEventDefinition] = list(),
link_event_definitions: list[LinkEventDefinition] = list(),
escalation_event_definitions: list[EscalationEventDefinition] = list(),
error_event_definitions: list[ErrorEventDefinition] = list(),
conditional_event_definitions: list[ConditionalEventDefinition] = list(),
compensate_event_definitions: list[CompensateEventDefinition] = list(),
cancel_event_definitions: list[CancelEventDefinition] = list(),
event_definitions: list[EventDefinition] = list(),
escalations: list[Escalation] = list(),
errors: list[Error] = list(),
end_points: list[EndPoint] = list(),
data_stores: list[DataStore] = list(),
correlation_properties: list[CorrelationProperty] = list(),
global_conversations: list[GlobalConversation] = list(),
collaborations: list[Collaboration] = list(),
categories: list[Category] = list(),
root_elements: list[RootElement] = list(),
bpmndiagrams: list[dict] = list(),
relationships: list[Relationship] = list(),
id: Optional[str] = None,
name: Optional[str] = None,
target_namespace: str,
expression_language: str = "http://www.w3.org/1999/XPath",
type_language: str = "http://www.w3.org/2001/XMLSchema",
exporter: Optional[str] = None,
exporter_version: Optional[str] = None
)
The Definitions class is the outermost object container for all BPMN elements.
It defines the scope of visibility and the namespace for all contained elements. The interchange of BPMN files will always be through one or more Definitions.