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: Thu, 23 Aug 2001 16:36:37 -0700

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Neil Tiffin <address@hidden>    01/08/23 16:36:37

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

Log message:
        Update business objects for new field types, int16, int32, int64, 
boolean.

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

Patches:
Index: gnue/docbook/GNUeModuleGuide/chapters/businessobjects.sgml
diff -u gnue/docbook/GNUeModuleGuide/chapters/businessobjects.sgml:1.20 
gnue/docbook/GNUeModuleGuide/chapters/businessobjects.sgml:1.21
--- gnue/docbook/GNUeModuleGuide/chapters/businessobjects.sgml:1.20     Fri Jun 
29 03:38:11 2001
+++ gnue/docbook/GNUeModuleGuide/chapters/businessobjects.sgml  Thu Aug 23 
16:36:37 2001
@@ -7,7 +7,7 @@
                        Introduction 
                </title>
                <para>
-                       This chapter is $Id: businessobjects.sgml,v 1.20 
2001/06/29 10:38:11 ntiffin Exp $. 
+                       This chapter is $Id: businessobjects.sgml,v 1.21 
2001/08/23 23:36:37 ntiffin Exp $. 
                </para>
                <para>
                Quick links to the various sections.
@@ -315,7 +315,7 @@
 </listitem>
 <listitem>
        <para>
-               type - is one of INT, TEXT, FLOAT, DATE, TIME, DATETIME or CHAR.
+               type - is one of INT, INT16, INT32, INT64, TEXT, FLOAT, DATE, 
TIME, DATETIME or CHAR.
        </para>
 </listitem>
 <listitem>
@@ -342,9 +342,9 @@
 <programlisting>
 <![CDATA[
 
-    MODULE location
+    MODULE example
     {
-      CLASS address
+      CLASS first
       {
         CHAR    street1<25>;
         CHAR    street2<25>;
@@ -356,7 +356,12 @@
         TEXT    my_notes;
         FLOAT   latitude;
         FLOAT   longitude;
-        INT     some_number;
+        INT     some_int32_number;
+        INT16   some_small_number;
+        INT32   same_as_int;
+        INT64   some_large_number;
+        BOOLEAN a_boolean;
+        BOOL    another_boolean;
         DATE    today;
         TIME    now;
       };
@@ -367,7 +372,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 back end database. 
+depending on the back end database. (For PostgreSQL they are both VARCHAR).
 </para>
 <para>
        TEXT - fields do not have a size attribute. They take up the amount
@@ -383,10 +388,25 @@
        INT - Integer number currently implemented in 32 bits. 
 </para>
 <para>
+       INT16 - Integer number currently implemented in 16 bits. 
+</para>
+<para>
+       INT32 - Integer number currently implemented in 32 bits. 
+</para>
+<para>
+       INT64 - Integer number currently implemented in 64 bits. 
+</para>
+<para>
        DATE - Date formatted for the underlying SQL database.
 </para>
 <para>
        TIME - Time formatted for the underlying SQL database.
+</para>
+<para>
+       BOOL - Boolean 1 or 0.  Implemented as SQL boolean value in PostGreSQL 
and char<1> is MySQL.
+</para>
+<para>
+       BOOLEAN - Alias for BOOL.
 </para>
 <para>
        DATETIME- Is formatted for both date and time as provided for in the 
SQL database.



reply via email to

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