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?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
isBehavior : Boolean (1 1); -- source
Port![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
isConjugated : Boolean (1 1); -- source
Port![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
isService : Boolean (1 1); -- source
Port![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
protocol :
ProtocolStateMachine (0 1); -- source
Port![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
provided :
Interface (0 *); -- source
Port![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
redefinedPort :
Port (0 *); -- source
Port![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
required :
Interface (0 *); -- source
Port![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
aggregation :
AggregationKind (1 1); -- source
Property![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
association :
Association (0 1); -- source
Property![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
associationEnd :
Property (0 1); -- source
Property![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
class :
Class (0 1); -- source
Property![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
datatype :
DataType (0 1); -- source
Property![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
defaultValue :
ValueSpecification (0 1); -- source
Property![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
interface :
Interface (0 1); -- source
Property![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
isComposite : Boolean (1 1); -- source
Property![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
isDerived : Boolean (1 1); -- source
Property![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
isDerivedUnion : Boolean (1 1); -- source
Property![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
isID : Boolean (1 1); -- source
Property![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
opposite :
Property (0 1); -- source
Property![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
owningAssociation :
Association (0 1); -- source
Property![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
qualifier :
Property (0 *); -- source
Property![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
redefinedProperty :
Property (0 *); -- source
Property![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
subsettedProperty :
Property (0 *); -- source
Property![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
end :
ConnectorEnd (0 *); -- source
ConnectableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
templateParameter :
ConnectableElementTemplateParameter (0 1); -- source
ConnectableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
deployedElement :
PackageableElement (0 *); -- source
DeploymentTarget![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
deployment :
Deployment (0 *); -- source
DeploymentTarget![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
isReadOnly : Boolean (1 1); -- source
StructuralFeature![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
isOrdered : Boolean (1 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
isUnique : Boolean (1 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
lower : Integer (1 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
lowerValue :
ValueSpecification (0 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
upper : UnlimitedNatural (1 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
upperValue :
ValueSpecification (0 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
type :
Type (0 1); -- source
TypedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
featuringClassifier :
Classifier (0 1); -- source
Feature![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
isStatic : Boolean (1 1); -- source
Feature![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
visibility :
VisibilityKind (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=109431%3ADC4453A2FB75FB326817E7839442931B)
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].