User: vancek
Date: 06/06/01 07:38:27
Modified: andromda-ejb3/src/site/xdoc howto9.xml
andromda-ejb3/src/site/resources/images/org/andromda/test/9/a
uml.gif
Log:
fixed docs for defining entity identifiers with inheritance and explicityly defined mapped superclass
Revision Changes Path
1.4 +9 -3 cartridges/andromda-ejb3/src/site/xdoc/howto9.xml
Index: howto9.xml
===================================================================
RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/site/xdoc/howto9.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -r1.3 -r1.4
--- howto9.xml 29 May 2006 01:53:36 -0000 1.3
+++ howto9.xml 1 Jun 2006 14:38:26 -0000 1.4
@@ -46,9 +46,15 @@
<subsection name="Mapped Superclasses">
<p>
To explicity defined an entity as a mapped superclass, model the
- <![CDATA[<<MappedSuperclass>>]]> stereotype on the root entity. Define the subclass entities
- <b>without</b> primary keys and generalizing the root entity. The following is an example of this
- type of inheritance.
+ <![CDATA[<<MappedSuperclass>>]]> stereotype on the root entity.
+ </p>
+ <p class="highlight">
+ You must explicity define your identifiers either in the mapped superclass or in the inheriting
+ subclass entities.
+ </p>
+ <p>
+ The following is an example of this type of inheritance where the <code>Vehicle</code> mapped
+ superclass contains the identifier which is automatically used by the <code>Car</code> entity.
</p>
<p>
<img src="images/org/andromda/test/9/a/uml.gif"/>
1.2 +148 -113 cartridges/andromda-ejb3/src/site/resources/images/org/andromda/test/9/a/uml.gif
<<Binary file>>
|