[Modeling-cvs] ProjectModeling/Modeling/doc/UserGuide DefiningaModel.tex,1.38,1.39
Status: Abandoned
Brought to you by:
sbigaret
From: <sbi...@us...> - 2003-08-31 17:47:31
|
Update of /cvsroot/modeling/ProjectModeling/Modeling/doc/UserGuide In directory sc8-pr-cvs1:/tmp/cvs-serv20879/Modeling/doc/UserGuide Modified Files: DefiningaModel.tex Log Message: Added doc. for many-to-many Index: DefiningaModel.tex =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/doc/UserGuide/DefiningaModel.tex,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** DefiningaModel.tex 31 Aug 2003 17:38:07 -0000 1.38 --- DefiningaModel.tex 31 Aug 2003 17:47:28 -0000 1.39 *************** *** 539,544 **** \item[\code{isClassProperty}:] tells whether the Relationship's key (i.e. its name, for example: \var{toBooks}) is part of the class' API. It should ! be set in most cases (the only case where this should not be checked ! is for many-to-many relationships which are not supported yet). \item[\code{multiplicityLowerBound}, \code{multiplicityUpperBound}:] --- 539,544 ---- \item[\code{isClassProperty}:] tells whether the Relationship's key (i.e. its name, for example: \var{toBooks}) is part of the class' API. It should ! be set in most cases.% (the only case where this should not be checked ! %is for many-to-many relationships which are not supported yet). \item[\code{multiplicityLowerBound}, \code{multiplicityUpperBound}:] *************** *** 1818,1822 **** \end{enumerate} ! \item[One-to-one] one-to-one relationships should be modeled as one-to-many relationships, to which you add custom validation logic to enforce that the toMany relationship does not have more than one --- 1818,1822 ---- \end{enumerate} ! \item[One-to-one] One-to-one relationships should be modeled as one-to-many relationships, to which you add custom validation logic to enforce that the toMany relationship does not have more than one *************** *** 1825,1831 **** ! \item[Many-to-many] many-to-many relationships are not supported yet (to ! do this the support for flattened relationships and abstract ! entities needs to be added to the core). \end{description} --- 1825,1832 ---- ! \item[Many-to-many] While automatic handling of many-to-many relationships is ! not supported yet, many-to-many relationships can be modeled and used ! with minimal efforts. Please refer to the dedicated ! section~\ref{design-rels-many-to-many}, below. \end{description} *************** *** 1943,1947 **** \end{verbatim} ! \subsubsection{A short example\label{design-rels-many-to-many-principles}} Now that we now how many-to-many relationships are handled, we know what we --- 1944,1948 ---- \end{verbatim} ! \subsubsection{A short example\label{design-rels-many-to-many-example}} Now that we now how many-to-many relationships are handled, we know what we |