Port
A Port is a usage/endpoint of a ServiceInterface.
This reflects the SysML/UML "Port" concept; use ProvidedPort or RequiredPort in models instead of instantiating Port directly.
The Port carries usage metadata (instance specifier/identifier).
The actual interface definition (events/fields/methods/errors) is held in serviceInterface.
Use ProvidedPort or RequiredPort instead of instantiating Port directly.
Usage: val ev = myComponent.radarIn.serviceInterface.objectsEvent
Inheritors
Properties
Identity of the authored Kotlin declaration, independent of its receiving model instance. Inherited declarations retain this provenance while id distinguishes each owning instance.
Fully-qualified name of the declaring context. Prefers declaringClassNameOverride (set explicitly by source materializers or canonical-ID binding) over declaringClass's captured name; falls back to null if neither is available.
Classification after model wiring or source binding. Any non-null asil ends the lookup immediately. Otherwise, follow a use's referenced definition, then enclosing interface points, and finally the owning element's ASIL. Shared definitions retain their own declaration ownership. An entirely unclassified chain returns null; the owning element's parent and analysis usedIn references are not inheritance sources.
Fully-qualified unique identifier of this model instance. A member follows its actual owning instance, so two instances of the same user class have distinct member IDs. declarationId retains the common source declaration for navigation and naming rules.
Empty means the whole interface is used; otherwise these declarations select its members.
Kotlin val name that holds this entity, scoped to its declaring context. Populated reflectively by WireModel.wireAll in the compiled path, or set directly via bindToSource in the source-materialized path. null until either runs.
The interface definition instance that defines the members of this port.
Functions
Binds an authored field or constructor-owned value without replacing its source declaration provenance.
Registers a child entity declared inside a source-materialized parent.
Records source-declared uses without changing the target's declaration or owner.
Binds an entity to an already computed canonical MetamodelEntity.id.
Sets the canonical identifiers for an entity that was materialized from source (as opposed to being instantiated from compiled bytecode). Intended for use by PSI / source materializers such as the IDEA plugin.
Interface-point analyses in declaration order, including analyses nested beneath ports or service groups.
Structural children, including explicit metamodel containment. Relation targets retain their own declaration.
Select a member and inherit its effective ASIL from the shared interface definition.