<jsrinivasan2k@...> wrote:
> I would like to know is there are any UML tool which provides
> a complete support for round trip engineering.
>
> Like if we modify model then it should automatically get reflected
> in code. This with respect to all diagrams.
>
> As far as i know this support is mainly for few diagram like
class, package ..etc.
> Is there any tool which supports all sorts of diagrams mainly
interaction diagrams.
Such a UML tool can't exist. Main reason is that the semantics of
UML don't simply map to code. In general roundtripping works only
when the formats are very similar and there is no loss of
information between the translations. In software development this
is true in relative few areas and typically for the structural
specifications.
My personal opinion is that roundtripping is a recipe for trouble.
We would we even try to keep the same information uptodate in two
different places? In class diagrams, where we could expect that
mapping to code would be close, there are so many ways to map e.g.
associations to code that in a general-purpose manner that UML
suggests makes it impossible. Still I need to ask what is the value
of having a rectangle symbol in a digram and an equivalent class in
a file.
Juha-Pekka Tolvanen
www.metacase.com