[Modeling-cvs] ProjectModeling/Modeling/doc/UserGuide DefiningaModel.tex,1.23,1.24
Status: Abandoned
Brought to you by:
sbigaret
|
From: <sbi...@us...> - 2003-08-26 18:53:49
|
Update of /cvsroot/modeling/ProjectModeling/Modeling/doc/UserGuide
In directory sc8-pr-cvs1:/tmp/cvs-serv11878/doc/UserGuide
Modified Files:
DefiningaModel.tex
Log Message:
Added type info for PyModel-model's props
Index: DefiningaModel.tex
===================================================================
RCS file: /cvsroot/modeling/ProjectModeling/Modeling/doc/UserGuide/DefiningaModel.tex,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** DefiningaModel.tex 26 Aug 2003 18:41:26 -0000 1.23
--- DefiningaModel.tex 26 Aug 2003 18:53:45 -0000 1.24
***************
*** 739,757 ****
A model defines the following properties:
! \begin{longtableiii}{p{3cm}p{4cm}p{7cm}}{code}{Prop.}{Default}{Comment}
! \lineiii{name}{\emph{no default}}{The \code{name} is the only mandatory
! arguments when instanciating a \class{Model}. Once set, it should not be
! changed}
! \lineiii{packageName}{value of \code{name}}{Dynamically }
! \lineiii{adaptorName}{\code{''}}{}
! \lineiii{connDict}
{\code{\{ 'host': '', 'database': '', 'user': '', 'password': '' \}}}{}
! \lineiii{entities}{\code{[]}}{Entities for the model are appended to this
sequence.}
! \lineiii{associations}{\code{[]}}{Associations are appended to this
sequence.}
! \lineiii{doc}{\code{''}}{this is the ``comment'' field}
! \lineiii{version}{\emph{no default}}{}
! \end{longtableiii}
\begin{notice}
--- 739,758 ----
A model defines the following properties:
! \begin{longtableiv}{p{3cm}p{1.5cm}p{4cm}p{5.5cm}}{code}{Prop.}{Type}{Default}{Comment}
! \lineiv{name}{\code{string}}{\emph{no default}}{The \code{name} is the only
! mandatory arguments when instanciating a \class{Model}. Once set, it should
! not be changed}
! \lineiv{packageName}{\code{string}}{value of \code{name}}{Dynamically }
! \lineiv{adaptorName}{\code{string}}{\code{''}}{}
! \lineiv{connDict}{\code{dict}}
{\code{\{ 'host': '', 'database': '', 'user': '', 'password': '' \}}}{}
! \lineiv{entities}{sequence}{\code{[]}}{Entities for the model are appended to this
sequence.}
! \lineiv{associations}{sequence}{\code{[]}}{Associations are appended to this
sequence.}
! \lineiv{doc}{\code{string}}{\code{''}}{this is the ``comment'' field}
! \lineiv{version}{\code{string}}{\emph{no default}}{currently \code{'0.1'}
! --see below}
! \end{longtableiv}
\begin{notice}
***************
*** 774,799 ****
\begin{verbatim}
! model.adaptorName='Postgresql'}.
\end{verbatim}
\subsection{Entity\label{pymodel-entity-props}}
The component \class{Entity} defines the following properties:
! \begin{longtableiv}{p{3cm}p{4cm}p{1.5cm}p{5.5cm}}{code}{Prop.}{Default}{type}{Comment}
! \lineiv{name}{\emph{no default}}{\code{string}}{The \code{name} is the only mandatory
arguments when instanciating a \class{Entity}. Once set, it should not be
changed}
! \lineiv{className}{value of \code{name}}{\code{string}}{}
! \lineiv{moduleName}{value of \code{name}}{\code{string}}{}
! \lineiv{externalName}{\code{externalNameForInternalName(name)}}{\code{string}}{}
! \lineiv{isAbstract}{\code{0}}{\code{int}}{}
! \lineiv{isReadOnly}{\code{0}}{\code{int}}{}
! \lineiv{properties}{\code{[]}}{\code{sequence}}{Sequence of \class{Attribute} and
\class{Relationship} objects}
! \lineiv{parent}{\code{''}}{\code{string}}{The \code{name} of its parent entity (inheritance)}
! \lineiv{typeName}{\code{''}}{\code{string}}{}
! \lineiv{doc}{\code{''}}{\code{string}}{comment}
\end{longtableiv}
\begin{notice}
--- 775,802 ----
\begin{verbatim}
! model.adaptorName='Postgresql'
\end{verbatim}
+ \subsubsection{Model's {\tt version}\label{pymodel-model-props-version}}
+
\subsection{Entity\label{pymodel-entity-props}}
The component \class{Entity} defines the following properties:
! \begin{longtableiv}{p{3cm}p{1.5cm}p{4cm}p{5.5cm}}{code}{Prop.}{Type}{Default}{Comment}
! \lineiv{name}{\code{string}}{\emph{no default}}{The \code{name} is the only mandatory
arguments when instanciating a \class{Entity}. Once set, it should not be
changed}
! \lineiv{className}{\code{string}}{value of \code{name}}{}
! \lineiv{moduleName}{\code{string}}{value of \code{name}}{}
! \lineiv{externalName}{\code{string}}{\code{externalNameForInternalName(name)}}{}
! \lineiv{isAbstract}{\code{int}}{\code{0}}{}
! \lineiv{isReadOnly}{\code{int}}{\code{0}}{}
! \lineiv{properties}{sequence}{\code{[]}}{Sequence of \class{Attribute} and
\class{Relationship} objects}
! \lineiv{parent}{\code{string}}{\code{''}}{The \code{name} of its parent entity (inheritance)}
! \lineiv{typeName}{\code{string}}{\code{''}}{}
! \lineiv{doc}{\code{string}}{\code{''}}{comment}
\end{longtableiv}
\begin{notice}
***************
*** 805,809 ****
\subsection{Attribute\label{pymodel-attribute-props}}
! \begin{longtableiv}{p{3cm}p{4cm}p{1.5cmcm}p{5.5cm}}{code}{Prop.}{Type}{Default}{Comment}
\lineiv{name}{\code{string}}{\emph{no default}}{The \code{name} is the only mandatory
arguments when instanciating a \class{Attribute}. Once set, it should not be
--- 808,812 ----
\subsection{Attribute\label{pymodel-attribute-props}}
! \begin{longtableiv}{p{3cm}p{1.5cm}p{4cm}p{5.5cm}}{code}{Prop.}{Type}{Default}{Comment}
\lineiv{name}{\code{string}}{\emph{no default}}{The \code{name} is the only mandatory
arguments when instanciating a \class{Attribute}. Once set, it should not be
|