Architecting and designing > UML 2.5 > Model Elements > Ports > Port on Class
  
Port on Class
A Port can 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 is a specialized Property.
Ports are notated by rectangles overlapping the boundary of their owning blocks or properties (parts or ports) typed by the owning block.
In the example below, “Customer Portal” is a port on the Classifier “Technical Support”.
This graphic is described in the surrounding text.
Modeling a Port on a Classifier
When drawing the Port on Class symbol on a UML Block or other diagram, you are only allowed to place the Port on an existing Classifier.
The Port on Class symbol populates the appropriate property references when drawn.
Specifying a Port for a Classifier
You specify ‘provided’ and ‘required’ Ports for a Classifier through its interface(s).
For instructions on how to specify that a port provides an interface, see Port Provides (Realizes) Interface.
For instructions on how to specify that a port uses an interface, see Port Requires (Uses) Interface.
See also
Port on Property
Go up to
Ports