Re: How to create an ERD with Rational Rose?
- From: "H. S. Lahman" <h.lahman@xxxxxxxxxxx>
- Date: Mon, 26 Sep 2005 16:20:51 GMT
Responding to Nananana...
I have a class diagram of Entity classes. How can I create an ERD?
Assuming these are Entity classes in the Jacobson sense and the Class Diagram is well-formed:
(1) strip off any Operations (there shouldn't be a lot besides getters/setters)
(2) strip off any Interfaces (the "lollipop" element in UML).
(3) provide identity and referential attributes as needed for the relationships.
(4) convert any exotic relationships (dependency, composition, etc.) to simple bi-directional associations.
Note that (1) may result in collapsing subclassing trees to a single Entity (i.e., there may no longer be a basis for distinguishing subclasses).
Now for a push back: why do you want an ERD if you have a Class Diagram? If it is simply to map your objects into persistence the conversion is likely to be more complicated. That is, you want to create and ERD directly from an optimal RDB schema rather than trying to convert a Class Diagram for a specific problem solution.
************* There is nothing wrong with me that could not be cured by a capful of Drano.
H. S. Lahman hsl@xxxxxxxxxxxxxxxxx Pathfinder Solutions -- Put MDA to Work http://www.pathfindermda.com blog: http://pathfinderpeople.blogs.com/hslahman (888)OOA-PATH
.
- Follow-Ups:
- Re: How to create an ERD with Rational Rose?
- From: Nananana
- Re: How to create an ERD with Rational Rose?
- Prev by Date: Re: Question about <The Deadline: A Novel About Project Management >
- Next by Date: Re: Use Case Point Estimation
- Previous by thread: A question about Tony Johansson and a paper
- Next by thread: Re: How to create an ERD with Rational Rose?
- Index(es):
Relevant Pages
|