Class UML 2.5::Port

Description:

A Port is a property of an EncapsulatedClassifier that specifies a distinct
interaction point between that EncapsulatedClassifier and its environment
or between the (behavior of the) EncapsulatedClassifier and its internal
parts. Ports are connected to Properties of the EncapsulatedClassifier
by Connectors through which requests can be made to invoke BehavioralFeatures.
A Port may specify the services an EncapsulatedClassifier provides (offers)
to its environment as well as the services that an EncapsulatedClassifier
expects (requires) of its environment. A Port may have an associated ProtocolStateMachine.

Signature: basicRequired() : Interface;Description: The union of the sets of Interfaces used by the type of the Port and its
supertypes.Expression: result = ( type.oclAsType(Classifier).allUsedInterfaces() )

Signature: basicProvided() : Interface;Description: The union of the sets of Interfaces realized by the type of the Port and
its supertypes, or directly the type of the Port if the Port is typed by
an Interface.Expression: result = (if type.oclIsKindOf(Interface) then type.oclAsType(Interface)->asSet() else type.oclAsType(Classifier).allRealizedInterfaces() endif)