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. |
name |
The descriptive name of the element.
TYPE:
|
operations |
This attribute specifies operations that are defined as part of the Interface. |
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
¶
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.