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.
Direct Superclasses: PropertyDirect Subclasses: Class Precedence List: Port,
Property,
ConnectableElement,
DeploymentTarget,
StructuralFeature,
MultiplicityElement,
TypedElement,
Feature,
RedefinableElement,
NamedElement,
ParameterableElement,
ElementProperties:
![](/se-interop/image/down-arrow.png)
isBehavior : Boolean (1 1); -- source
Port![](/se-interop/image/down-arrow.png)
isConjugated : Boolean (1 1); -- source
Port![](/se-interop/image/down-arrow.png)
isService : Boolean (1 1); -- source
Port![](/se-interop/image/down-arrow.png)
protocol :
ProtocolStateMachine (0 1); -- source
Port![](/se-interop/image/down-arrow.png)
provided :
Interface (0 *); -- source
Port![](/se-interop/image/down-arrow.png)
redefinedPort :
Port (0 *); -- source
Port![](/se-interop/image/down-arrow.png)
required :
Interface (0 *); -- source
Port![](/se-interop/image/down-arrow.png)
aggregation :
AggregationKind (1 1); -- source
Property![](/se-interop/image/down-arrow.png)
association :
Association (0 1); -- source
Property![](/se-interop/image/down-arrow.png)
associationEnd :
Property (0 1); -- source
Property![](/se-interop/image/down-arrow.png)
class :
Class (0 1); -- source
Property![](/se-interop/image/down-arrow.png)
datatype :
DataType (0 1); -- source
Property![](/se-interop/image/down-arrow.png)
defaultValue :
ValueSpecification (0 1); -- source
Property![](/se-interop/image/down-arrow.png)
interface :
Interface (0 1); -- source
Property![](/se-interop/image/down-arrow.png)
isComposite : Boolean (1 1); -- source
Property![](/se-interop/image/down-arrow.png)
isDerived : Boolean (1 1); -- source
Property![](/se-interop/image/down-arrow.png)
isDerivedUnion : Boolean (1 1); -- source
Property![](/se-interop/image/down-arrow.png)
isID : Boolean (1 1); -- source
Property![](/se-interop/image/down-arrow.png)
opposite :
Property (0 1); -- source
Property![](/se-interop/image/down-arrow.png)
owningAssociation :
Association (0 1); -- source
Property![](/se-interop/image/down-arrow.png)
qualifier :
Property (0 *); -- source
Property![](/se-interop/image/down-arrow.png)
redefinedProperty :
Property (0 *); -- source
Property![](/se-interop/image/down-arrow.png)
subsettedProperty :
Property (0 *); -- source
Property![](/se-interop/image/down-arrow.png)
end :
ConnectorEnd (0 *); -- source
ConnectableElement![](/se-interop/image/down-arrow.png)
templateParameter :
ConnectableElementTemplateParameter (0 1); -- source
ConnectableElement![](/se-interop/image/down-arrow.png)
deployedElement :
PackageableElement (0 *); -- source
DeploymentTarget![](/se-interop/image/down-arrow.png)
deployment :
Deployment (0 *); -- source
DeploymentTarget![](/se-interop/image/down-arrow.png)
isReadOnly : Boolean (1 1); -- source
StructuralFeature![](/se-interop/image/down-arrow.png)
isOrdered : Boolean (1 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png)
isUnique : Boolean (1 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png)
lower : Integer (1 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png)
lowerValue :
ValueSpecification (0 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png)
upper : UnlimitedNatural (1 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png)
upperValue :
ValueSpecification (0 1); -- source
MultiplicityElement![](/se-interop/image/right-arrow.png)
type :
Type (0 1); -- source
TypedElementThe type of the TypedElement.
![](/se-interop/image/down-arrow.png)
featuringClassifier :
Classifier (0 1); -- source
Feature![](/se-interop/image/down-arrow.png)
isStatic : Boolean (1 1); -- source
Feature![](/se-interop/image/down-arrow.png)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/right-arrow.png)
clientDependency :
Dependency (0 *); -- source
NamedElementIndicates the Dependencies that reference this NamedElement as a client.
{
derived}
Opposite: Dependency.client
![](/se-interop/image/down-arrow.png)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
visibility :
VisibilityKind (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png)
owner :
Element (0 1); -- source
ElementConstraints:
No additional constraints.
Operations:
Signature: required.1() : Interface;
Description: Derivation for Port::/required
Expression: result = (if isConjugated then basicProvided() else basicRequired() endif)
Signature: provided.1() : Interface;
Description: Derivation for Port::/provided
Expression: result = (if isConjugated then basicRequired() else basicProvided() endif)
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)
Send questions or comments to
[email protected].