Skip to content

interface

Represents an Interface.

CLASS DESCRIPTION
Interface

An Interface defines a set of operations that Services implement.

Classes

Interface dataclass

Interface(
    *,
    id: Optional[str] = None,
    documentation: list[Documentation] = list(),
    extension_elements: Optional[ExtensionElements] = None,
    operations: list[Operation] = list(),
    name: str,
    implementation_ref: Optional[str] = None
)

Bases: RootElement

An Interface defines a set of operations that Services implement.

ATTRIBUTE DESCRIPTION
implementation_ref

A reference to a concrete artifact in the underlying implementation technology that represents the interface.

TYPE: Optional[str]

name

The descriptive name of the element.

TYPE: str

operations

This attribute specifies operations that are defined as part of the Interface.

TYPE: list[Operation]

Attributes

implementation_ref class-attribute instance-attribute
implementation_ref: Optional[str] = field(
    default=None, metadata={"name": "implementationRef", "type": "Attribute"}
)

A reference to a concrete artifact in the underlying implementation technology that represents the interface.

name class-attribute instance-attribute
name: str = field(metadata={'type': 'Attribute', 'required': True})

The descriptive name of the element.

operations class-attribute instance-attribute
operations: list[Operation] = field(
    default_factory=list,
    metadata={
        "name": "operation",
        "type": "Element",
        "namespace": "http://www.omg.org/spec/BPMN/20100524/MODEL",
        "min_occurs": 1,
    },
)

This attribute specifies operations that are defined as part of the Interface.

An Interface has at least one Operation.

Functions