Re: UML-ish question



jhinchey@xxxxxxxxxx wrote:
I came across something on a UML class diagram today that I have never
seen before and I'm wondering about the validity of it. The diagram
has a class which has an association with itself (a line coming out of
the class, making 2 90 degree turns and going back into itself).

I would expect to see that kind of notation for data structures that
may contain pointers/references to other instances of the same
strucures. Common examples are nodes of a link list, tree nodes (for
guis or maybe xml documents), graph structures etc. I believe it's
perfectly fine UML (though I am not an expert of the "legality" if UML).

.