Re: Polymorphic UML sequence diagrams

Re: Polymorphic UML sequence diagrams

From: Robert France <>
Date: Wed, 18 Oct 2006 16:29:42 +0100
Message-ID: <>
Not sure what you mean by a "polymorphic ... scenario". Can you give a 
more descriptive example? Do you want the lifelines to be roles that can 
be played by different instances (not necessarily of the same class)?

Or are you trying to model program-level polymorphic calls?


Andrea Baruzzo wrote:
> Hi,
> I am intersted to know if it is possible to draw a polymorphic UML
> scenario using sequence diagrams. In other words, I would depict *a
> list of objects* (using an appropriate icon...) where usually I put a
> single object instance. Many case tools (at the moment I use
> Enterprise Architect) don't let me do this. Looking at the
> superstructure specification of UML2, I have not found this
> possibility.
> Have you ever tried to do this? Is it formally allowed?
> Thanks for the help.

Robert B. France, Professor       | Tel: 970-491-6356
Computer Science Department       | Fax: 970-491-2466
Colorado State University         | Email:
Fort Collins, CO 80523            |

PLEASE NOTE: I am currently away on sabbatical at Lancaster
University, UK. My address in Lancaster is:

Computing Department
South Drive
Lancaster University
Lancaster LA1 4WA
Tel: +44-(0)1524-510307
Fax: +44-(0)1524-510492
Received on Wed 18 Oct 2006 - 16:30:12 BST