Class UML 2.3::Port
Description:
A port has an associated protocol state machine.
Direct Superclasses: PropertyDirect Subclasses: Class Precedence List: Port,
Property,
StructuralFeature,
MultiplicityElement,
DeploymentTarget,
ConnectableElement,
ParameterableElement,
TypedElement,
Feature,
RedefinableElement,
NamedElement,
ElementProperties:
isBehavior : Boolean (1 1); -- source
Port isConjugated : Boolean (1 1); -- source
Port isService : Boolean (1 1); -- source
Port protocol :
ProtocolStateMachine (0 1); -- source
Port provided :
Interface (0 *); -- source
Port redefinedPort :
Port (0 *); -- source
Port A port may be redefined when its containing classifier is specialized.
The redefining port may have additional interfaces to those that are associated
with the redefined port or it may replace an interface by one of its subtypes.
Subsets: Property.redefinedProperty
required :
Interface (0 *); -- source
Port aggregation :
AggregationKind (1 1); -- source
Property association :
Association (0 1); -- source
Property associationEnd :
Property (0 1); -- source
Property class :
Class (0 1); -- source
Property References the Class that owns the Property.
Subsets: Feature.featuringClassifier, NamedElement.namespace
Opposite: Class.ownedAttribute
datatype :
DataType (0 1); -- source
Property default : String (0 1); -- source
Property defaultValue :
ValueSpecification (0 1); -- source
Property interface :
Interface (0 1); -- source
Property isComposite : Boolean (1 1); -- source
Property isDerived : Boolean (1 1); -- source
Property isDerivedUnion : Boolean (1 1); -- source
Property isReadOnly : Boolean (1 1); -- source
Property opposite :
Property (0 1); -- source
Property owningAssociation :
Association (0 1); -- source
Property References the owning association of this property, if any.
Subsets: Feature.featuringClassifier, NamedElement.namespace, Property.association
Opposite: Association.ownedEnd
qualifier :
Property (0 *); -- source
Property redefinedProperty :
Property (0 *); -- source
Property subsettedProperty :
Property (0 *); -- source
Property isOrdered : Boolean (1 1); -- source
MultiplicityElement isUnique : Boolean (1 1); -- source
MultiplicityElement lower : Integer (0 1); -- source
MultiplicityElement lowerValue :
ValueSpecification (0 1); -- source
MultiplicityElement upper : UnlimitedNatural (0 1); -- source
MultiplicityElement upperValue :
ValueSpecification (0 1); -- source
MultiplicityElement deployedElement :
PackageableElement (0 *); -- source
DeploymentTarget deployment :
Deployment (0 *); -- source
DeploymentTarget end :
ConnectorEnd (0 *); -- source
ConnectableElement templateParameter :
ConnectableElementTemplateParameter (0 1); -- source
ConnectableElement owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement type :
Type (0 1); -- source
TypedElement featuringClassifier :
Classifier (0 *); -- source
Feature isStatic : Boolean (1 1); -- source
Feature isLeaf : Boolean (1 1); -- source
RedefinableElement Indicates whether it is possible to further redefine a RedefinableElement.
If the value is true, then it is not possible to further redefine the RedefinableElement.
Note that this property is preserved through package merge operations;
that is, the capability to redefine a RedefinableElement (i.e., isLeaf=false)
must be preserved in the resulting RedefinableElement of a package merge
operation where a RedefinableElement with isLeaf=false is merged with a
matching RedefinableElement with isLeaf=true: the resulting RedefinableElement
will have isLeaf=false. Default value is false.
Default value: FALSE
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement redefinitionContext :
Classifier (0 *); -- source
RedefinableElement clientDependency :
Dependency (0 *); -- source
NamedElement name : String (0 1); -- source
NamedElement nameExpression :
StringExpression (0 1); -- source
NamedElement namespace :
Namespace (0 1); -- source
NamedElement qualifiedName : String (0 1); -- source
NamedElement visibility :
VisibilityKind (0 1); -- source
NamedElement ownedComment :
Comment (0 *); -- source
Element ownedElement :
Element (0 *); -- source
Element owner :
Element (0 1); -- source
ElementConstraints:
Signature: port_destroyed() : Boolean;
Description: When a port is destroyed, all connectors attached to this port will be
destroyed also.
Expression: true
Signature: port_aggregation() : Boolean;
Description: Port.aggregation must be composite.
Expression: true
Signature: default_value() : Boolean;
Description: A defaultValue for port cannot be specified when the type of the Port is
an Interface
Expression: true
Operations:
No additional operations.
Send questions or comments to
[email protected].