Update of /cvsroot/modeling/ProjectModeling/Modeling/doc/UserGuide
In directory sc8-pr-cvs1:/tmp/cvs-serv25909/Modeling/doc/UserGuide
Modified Files:
DefiningaModel.tex
Log Message:
Misc. cleanup in PyModel doc.
Index: DefiningaModel.tex
===================================================================
RCS file: /cvsroot/modeling/ProjectModeling/Modeling/doc/UserGuide/DefiningaModel.tex,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** DefiningaModel.tex 30 Aug 2003 15:03:25 -0000 1.31
--- DefiningaModel.tex 30 Aug 2003 15:13:00 -0000 1.32
***************
*** 1032,1036 ****
the object's field \code{destination}, see below).
! \item Instead of declaring two directional relationships, each being the
inverse of the other, you can also declare a object \class{Association}
which gives you the opportunity to declare a relationship and its inverse in
--- 1032,1036 ----
the object's field \code{destination}, see below).
! \item Or, instead of declaring two directional relationships, each being the
inverse of the other, you can also declare a object \class{Association}
which gives you the opportunity to declare a relationship and its inverse in
***************
*** 1043,1047 ****
other component defining relationships: \class{RToOne}
(cf.\ref{pymodel-relationship-props-toone}),
! \class{RToMany}((cf.\ref{pymodel-relationship-props-toone}) and
\class{Association} (cf.\ref{pymodel-association-props}).
--- 1043,1047 ----
other component defining relationships: \class{RToOne}
(cf.\ref{pymodel-relationship-props-toone}),
! \class{RToMany} (cf.\ref{pymodel-relationship-props-tomany}) and
\class{Association} (cf.\ref{pymodel-association-props}).
***************
*** 1079,1083 ****
own defaults (and override some of them).
! \paragraph{Join semantic\label{pymodel-relationship-props-join-semantic}}
The possible values for the attribute \code{joinSemantic}, and their respective
--- 1079,1083 ----
own defaults (and override some of them).
! \paragraph{\bf Join semantic\label{pymodel-relationship-props-join-semantic}}~\\
The possible values for the attribute \code{joinSemantic}, and their respective
***************
*** 1112,1116 ****
destination entity, \code{destination}.
! \paragraph{Source and destination attributes}
Attributes \code{src} and \code{dst}, identifying source and destination
--- 1112,1116 ----
destination entity, \code{destination}.
! \paragraph{\bf Source and destination attributes}~\\
Attributes \code{src} and \code{dst}, identifying source and destination
***************
*** 1178,1188 ****
destination entity, \code{destination}.
! \paragraph{Source and destination attributes}
Attributes \code{src} and \code{dst}, identifying source and destination
attributes, are automatically calculated if they are not supplied. The rules
! are the same than the ones given in~\ref{pymodel-relationship-props-toone},
! you just need to swap name \code{'src'} and \code{'dst'} in the above
! explanation.
As an example, suppose you have a pymodel declaring such a \code{RToMany}:
--- 1178,1188 ----
destination entity, \code{destination}.
! \paragraph{\bf Source and destination attributes}~\\
Attributes \code{src} and \code{dst}, identifying source and destination
attributes, are automatically calculated if they are not supplied. The rules
! are the same than the ones given above for \class{RToOne}, you just need to
! swap name \code{'src'}/''source'' and \code{'dst'}/''destination'' in the
! above explanation.
As an example, suppose you have a pymodel declaring such a \code{RToMany}:
***************
*** 1220,1225 ****
\lineiv{dst}{\code{string}}{\emph{no default}}{The destination entity's
name. This parameter is mandatory when creating a \class{Association}}
! \lineiv{multiplicity}{sequence of sequences}{\code{[ [0,1], [0,None] ]}}{}
! \lineiv{relations}{sequence of sequences}{~}{~}
\lineiv{keys}{\code{sequence}}{\code{[None, None]}}{~}
\lineiv{delete}{sequence}{\code{[ RToOne.defaults['delete'],
--- 1220,1225 ----
\lineiv{dst}{\code{string}}{\emph{no default}}{The destination entity's
name. This parameter is mandatory when creating a \class{Association}}
! \lineiv{multiplicity}{sequence}{\code{[ [0,1], [0,None] ]}}{}
! \lineiv{relations}{sequence}{~}{~}
\lineiv{keys}{\code{sequence}}{\code{[None, None]}}{~}
\lineiv{delete}{sequence}{\code{[ RToOne.defaults['delete'],
|