commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/docbook/GNUeModuleGuide/chapters businesso...


From: Neil Tiffin
Subject: gnue/docbook/GNUeModuleGuide/chapters businesso...
Date: Sat, 19 May 2001 12:08:28 -0700

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Neil Tiffin <address@hidden>    01/05/19 12:08:28

Modified files:
        docbook/GNUeModuleGuide/chapters: businessobjects.sgml 

Log message:
        Spellcheck and clean up a few remaining format problems.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/docbook/GNUeModuleGuide/chapters/businessobjects.sgml.diff?cvsroot=OldCVS&tr1=1.14&tr2=1.15&r1=text&r2=text

Patches:
Index: gnue/docbook/GNUeModuleGuide/chapters/businessobjects.sgml
diff -u gnue/docbook/GNUeModuleGuide/chapters/businessobjects.sgml:1.14 
gnue/docbook/GNUeModuleGuide/chapters/businessobjects.sgml:1.15
--- gnue/docbook/GNUeModuleGuide/chapters/businessobjects.sgml:1.14     Sat May 
19 11:55:41 2001
+++ gnue/docbook/GNUeModuleGuide/chapters/businessobjects.sgml  Sat May 19 
12:08:28 2001
@@ -7,7 +7,7 @@
                        Introduction 
                </title>
                <para>
-                       This chapter is $Id: businessobjects.sgml,v 1.14 
2001/05/19 18:55:41 ntiffin Exp $. 
+                       This chapter is $Id: businessobjects.sgml,v 1.15 
2001/05/19 19:08:28 ntiffin Exp $. 
                </para>
                <para>
                Quick links to the various sections.
@@ -82,7 +82,7 @@
                                </listitem>
                                <listitem>
                                        <para>
-                                               Lines are wrapped at 72 
characters. Docbook will automatically wrap the lines and and it does not look 
right. 
+                                               Lines are wrapped at 72 
characters. Docbook will automatically wrap the lines and it does not look 
right. 
                                        </para>
                                </listitem>
                                <listitem>
@@ -112,12 +112,12 @@
                                </listitem>
                                <listitem>
                                        <para>
-                                               Every file should have a second 
line that contains the filename and a short (one-line) explaination what this 
module is for. The filename should utilize the cvs keyword substitution string. 
For example: "# $RCSfile: businessobjects.sgml,v $ - then the oneline 
description of the file." 
+                                               Every file should have a second 
line that contains the filename and a short (one-line) explanation what this 
module is for. The filename should utilize the cvs keyword substitution string. 
For example: "# $RCSfile: businessobjects.sgml,v $ - then the one line 
description of the file." 
                                        </para>
                                </listitem>
                                <listitem>
                                        <para>
-                                               Every type, class and extend 
definition should be preceeded by a one-line comment that tells what this 
type/class is for. I am a fan of having such comments surrounded by lines.
+                                               Every type, class and extend 
definition should be preceded by a one-line comment that tells what this 
type/class is for. I am a fan of having such comments surrounded by lines.
                                        </para>
                                </listitem>
                                <listitem>
@@ -146,7 +146,7 @@
 </para>
 <programlisting>
 
-# $RCSfile: businessobjects.sgml,v $: Common definitions for human beings and 
anderoids.
+# $RCSfile: businessobjects.sgml,v $: Common definitions for human beings and 
androids.
 #                  
 # Copyright (C) 2001 Free Software Foundation, Inc.
 #
@@ -169,38 +169,39 @@
 #
 # This file originally written by Neil Tiffin (address@hidden).
 #
-# $Revision: 1.14 $ $Date: 2001/05/19 18:55:41 $ $Author: ntiffin $
+# $Revision: 1.15 $ $Date: 2001/05/19 19:08:28 $ $Author: ntiffin $
 #
 
-module person {
-
-# -------------------------------------------
-# common definitions for persons
-# -------------------------------------------
-type person
-{
-  char surname<35>;
-  char given_names<35>;
-};
-
-# -------------------------------------------
-# types of persons
-# -------------------------------------------
-class type
-{
-  char code<8>;
-  char description<35>;
-};
-
-# -------------------------------------------
-# employees
-# -------------------------------------------
-class employee
+module person
 {
-  person person;
-  type   *type;
-};
 
+       # -------------------------------------------
+       # common definitions for persons
+       # -------------------------------------------
+       type person
+       {
+               char surname<35>;
+               char given_names<35>;
+       };
+       
+       # -------------------------------------------
+       # types of persons
+       # -------------------------------------------
+       class type
+       {
+               char code<8>;
+               char description<35>;
+       };
+       
+       # -------------------------------------------
+       # employees
+       # -------------------------------------------
+       class employee
+       {
+               person person;
+               type   *type;
+       };
+
 }; # end of module
 
 </programlisting>
@@ -264,11 +265,11 @@
 
 <![CDATA[
     MODULE base
-    {
-    CLASS item
     {
-      char   description<35>;
-    };
+      CLASS item
+      {
+        char   description<35>;
+      };
     };
 ]]>
 
@@ -281,10 +282,10 @@
 
     MODULE supply_chain
     {
-    EXTEND base::item
-    {
-      int   quantity_on_hand;
-    };
+      EXTEND base::item
+      {
+        int   quantity_on_hand;
+      };
     };
     
 </programlisting>
@@ -296,10 +297,10 @@
 <![CDATA[
     MODULE base
     {
-    CLASS item {
-      char   description<35>;
-      int   quantity_on_hand;
-    };
+      CLASS item {
+        char   description<35>;
+        int   quantity_on_hand;
+      };
     };
 ]]>
 
@@ -389,7 +390,7 @@
 <para>
        Note: TEXT and CHAR fields should not be confused with SQL field
 types. They are GEAS field types and are mapped to the best type
-depending on the backend database. 
+depending on the back end database. 
 </para>
 <para>
        TEXT - fields do not have a size attribute. They take up the amount
@@ -405,10 +406,10 @@
        INT - Integer number currently implemented in 32 bits. 
 </para>
 <para>
-       DATE - Date formatted for the underlaying SQL database.
+       DATE - Date formatted for the underlying SQL database.
 </para>
 <para>
-       TIME - Time formatted for the underlaying SQL database.
+       TIME - Time formatted for the underlying SQL database.
 </para>
 <para>
        DATETIME- Is formatted for both date and time as provided for in the 
SQL database.
@@ -647,7 +648,7 @@
          data.  If this class is in a different module then is requires
          a fully qualified name.
          
-    src_field - is the field in the src_class used for comparision.
+    src_field - is the field in the src_class used for comparison.
     
     comp_field - is the field from the current class that is matched.
 
@@ -682,7 +683,7 @@
 automatically by geas.
 </para>
 <para>
-       To make this work in theory, you're supposed to programatically use
+       To make this work in theory, you're supposed to programmatically use
 container.setReference(fieldname,object) and
 container.getReference(fieldname) from the client code and let GEAS handle
 the reference automatically.
@@ -710,7 +711,7 @@
          data.  If this class is in a different module then is requires
          a fully qualified name.
     
-    src_field - is the field in the src_class used for comparision.
+    src_field - is the field in the src_class used for comparison.
 
     comp_field - is the field from the current class that is matched.
 
@@ -741,7 +742,7 @@
 automatically by geas.
 </para>
 <para>
-       To make this work in theory, you're supposed to programatically use
+       To make this work in theory, you're supposed to programmatically use
 container.setReference(fieldname,object) and
 container.getReference(fieldname) from the client code and let GEAS handle
 the reference automatically.
@@ -872,7 +873,7 @@
 
 </programlisting>
 <para>
-       TYPEexample
+       TYPE example
 </para>
 <programlisting>
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]