commit-gnue
[Top][All Lists]
Advanced

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

gnue/gnue-config base/location/doc/location.sgm...


From: Neil Tiffin
Subject: gnue/gnue-config base/location/doc/location.sgm...
Date: Mon, 14 May 2001 07:16:57 -0700

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Neil Tiffin <address@hidden>    01/05/14 07:16:57

Modified files:
        gnue-config/base/location/doc: location.sgml 
        gnue-config/base/package-doc: Base.sgml chapters.ent 
        gnue-config/base/person/classes: person.gcd 
        gnue-config/supply-chain/vendor/classes: vendor.gcd 
Added files:
        gnue-config/base/company/classes: company.gcd 
        gnue-config/base/company/doc: company.sgml 

Log message:
        Create new company class in base package and move stuff out of vendor 
class into it.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/company/classes/company.gcd?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/company/doc/company.sgml?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/location/doc/location.sgml.diff?cvsroot=OldCVS&tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/package-doc/Base.sgml.diff?cvsroot=OldCVS&tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/package-doc/chapters.ent.diff?cvsroot=OldCVS&tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/person/classes/person.gcd.diff?cvsroot=OldCVS&tr1=1.10&tr2=1.11&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/supply-chain/vendor/classes/vendor.gcd.diff?cvsroot=OldCVS&tr1=1.11&tr2=1.12&r1=text&r2=text

Patches:
Index: gnue/gnue-config/base/location/doc/location.sgml
diff -u gnue/gnue-config/base/location/doc/location.sgml:1.3 
gnue/gnue-config/base/location/doc/location.sgml:1.4
--- gnue/gnue-config/base/location/doc/location.sgml:1.3        Mon Mar 12 
14:59:59 2001
+++ gnue/gnue-config/base/location/doc/location.sgml    Mon May 14 07:16:57 2001
@@ -3,7 +3,7 @@
        <sect1>
                <title>Requirements</title> 
                <para>
-                       This chapter is $Revision: 1.3 $ $Date: 2001/03/12 
22:59:59 $. 
+                       This chapter is $Revision: 1.4 $ $Date: 2001/05/14 
14:16:57 $. 
                </para>
                <sect2>
                        <title> Business Requirements </title> 
@@ -106,16 +106,6 @@
                        <para>
                                <programlisting>
                                        &addresscode; 
-                               </programlisting>
-                       </para>
-                       <para>
-                               <programlisting>
-                                       &statecode; 
-                               </programlisting>
-                       </para>
-                       <para>
-                               <programlisting>
-                                       &countrycode; 
                                </programlisting>
                        </para>
                </sect2>
Index: gnue/gnue-config/base/package-doc/Base.sgml
diff -u gnue/gnue-config/base/package-doc/Base.sgml:1.4 
gnue/gnue-config/base/package-doc/Base.sgml:1.5
--- gnue/gnue-config/base/package-doc/Base.sgml:1.4     Thu Apr 19 16:18:16 2001
+++ gnue/gnue-config/base/package-doc/Base.sgml Mon May 14 07:16:57 2001
@@ -5,7 +5,7 @@
 <!-- This is a GNUe documentation template, designed by the GNUe team.  It 
uses several things similar in nature to GNOME's templates.  We thank them for 
their contributions to Free Software.  You will need to make necessary changes 
to this template for your proposal.  Things you should DEFINITELY be changing 
will be in UPPERCASE.  We ask all proposals be under the FDL, however you may 
assume copyright to whomever you wish. We of course would prefer you leave this 
assigned to the Free Software Foundation. Please review README file.-->
 
 
-<!-- $Id: Base.sgml,v 1.4 2001/04/19 23:18:16 ntiffin Exp $ -->
+<!-- $Id: Base.sgml,v 1.5 2001/05/14 14:16:57 ntiffin Exp $ -->
 
 
 <!-- This contains all chapters to be called below -->
@@ -35,6 +35,7 @@
     &chapter.introduction;
     &chapter.person;
        &chapter.location;
+       &chapter.company;
     &chapter.language;
     &chapter.units;
     &chapter.currency;
Index: gnue/gnue-config/base/package-doc/chapters.ent
diff -u gnue/gnue-config/base/package-doc/chapters.ent:1.4 
gnue/gnue-config/base/package-doc/chapters.ent:1.5
--- gnue/gnue-config/base/package-doc/chapters.ent:1.4  Thu Apr 19 16:18:16 2001
+++ gnue/gnue-config/base/package-doc/chapters.ent      Mon May 14 07:16:57 2001
@@ -1,6 +1,6 @@
 <!-- -*- SGML -*-
 
- $Id: chapters.ent,v 1.4 2001/04/19 23:18:16 ntiffin Exp $
+ $Id: chapters.ent,v 1.5 2001/05/14 14:16:57 ntiffin Exp $
 
  Contains chapter references
 
@@ -15,12 +15,12 @@
 <!ENTITY chapter.units                 SYSTEM "../units/doc/units.sgml">
 <!ENTITY chapter.currency              SYSTEM "../currency/doc/currency.sgml">
 <!ENTITY chapter.baseitem              SYSTEM "../item/doc/base_item.sgml">
+<!ENTITY chapter.company               SYSTEM "../company/doc/company.sgml">
 
 <!ENTITY personcode                    SYSTEM "../person/classes/person.gcd">
 <!ENTITY languagecode              SYSTEM "../language/classes/language.gcd">
 <!ENTITY unitscode                     SYSTEM "../units/classes/units.gcd">
 <!ENTITY addresscode               SYSTEM "../location/classes/address.gcd">
-<!ENTITY statecode                     SYSTEM 
"../location/classes/validstatecodes.gcd">
-<!ENTITY countrycode               SYSTEM 
"../location/classes/validcountrycodes.gcd">
 <!ENTITY currencycode              SYSTEM "../currency/classes/currency.gcd">
 <!ENTITY baseitemcode              SYSTEM "../item/classes/base_item.gcd">
+<!ENTITY companycode               SYSTEM "../company/classes/company.gcd">
Index: gnue/gnue-config/base/person/classes/person.gcd
diff -u gnue/gnue-config/base/person/classes/person.gcd:1.10 
gnue/gnue-config/base/person/classes/person.gcd:1.11
--- gnue/gnue-config/base/person/classes/person.gcd:1.10        Sun May  6 
15:20:20 2001
+++ gnue/gnue-config/base/person/classes/person.gcd     Mon May 14 07:16:57 2001
@@ -22,13 +22,14 @@
 #
 # This file originally written by Neil Tiffin (address@hidden).
 #
-# $Revision: 1.10 $ $Date: 2001/05/06 22:20:20 $ $Author: ntiffin $
+# $Revision: 1.11 $ $Date: 2001/05/14 14:16:57 $ $Author: ntiffin $
 #
 
 module person {
 
   # ----------------------------------------------
-  # name_prefix - personal title placed before name
+  # list of personal titles placed before name
+  # and are acceptable for this installation.
   # ----------------------------------------------
   class name_prefix
   {
@@ -38,7 +39,8 @@
   };
   
   # ----------------------------------------------
-  # name_postfix - 
+  # list of characters that follow the name
+  # and are acceptable for this installation.
   # ----------------------------------------------
   class name_postfix
   {
Index: gnue/gnue-config/supply-chain/vendor/classes/vendor.gcd
diff -u gnue/gnue-config/supply-chain/vendor/classes/vendor.gcd:1.11 
gnue/gnue-config/supply-chain/vendor/classes/vendor.gcd:1.12
--- gnue/gnue-config/supply-chain/vendor/classes/vendor.gcd:1.11        Sun May 
 6 15:20:21 2001
+++ gnue/gnue-config/supply-chain/vendor/classes/vendor.gcd     Mon May 14 
07:16:57 2001
@@ -22,17 +22,14 @@
 #
 # This file originally written by Neil Tiffin (address@hidden).
 #
-# $Revision: 1.11 $ $Date: 2001/05/06 22:20:21 $ $Author: ntiffin $
+# $Revision: 1.12 $ $Date: 2001/05/14 14:16:57 $ $Author: ntiffin $
 #
-include "../../../base/location/classes/address.gcd"
+include "../../../base/company/classes/company.gcd"
 
 module vendor
 {
-  #type  vendor_id = char<8>;
   #type  status_code  = char<8>;
   #type  type_code    = char<8>;
-  #type  contact_code = char<8>;
-  #type  address_code = char<8>;
     
   # -------------------------------------------------------------------------
   # vendor status i.e. approved, dont use, special purchase only
@@ -55,69 +52,20 @@
         
     INDEX (code);
   };
-    
-  # -------------------------------------------------------------------------
-  # 
-  # -------------------------------------------------------------------------
-  class contact_type
-  {
-    char      code<8>;
-    char      description<25>;
-
-    INDEX (code);
-  };
-
-  # -------------------------------------------------------------------------
-  # 
-  # -------------------------------------------------------------------------
-  class address_type
-  {
-    char      code<8>;
-    char      description<25>;
-
-    INDEX (code);
-  };
-
-  # -------------------------------------------------------------------------
-  # 
-  # -------------------------------------------------------------------------
-  class contact
-  {
-    vendor_id       id;
-    person::person  contact;
-    contact_code    code;
         
-    INDEX (id);
-  };
     
   # -------------------------------------------------------------------------
   # 
   # -------------------------------------------------------------------------
-  class address
+  class vendor : company::company
   {
-    address::address address;
-    char    description;
-        
-    INDEX (id);
-  };
-    
-  # -------------------------------------------------------------------------
-  # 
-  # -------------------------------------------------------------------------
-  class vendor
-  {
-    vendor_id     id;                # NOT NULL  UNIQUE
-    text          companyname;       # NOT NULL
-    vendor::address [] address;
-    vendor::contact [] contact;
-        
+
     #vendor_status_code  code;        # Approved, dont use etc.
     #LOOKUP status : vendor::vendorStatus(code).description = statuscode;
 
     #vendor_type_code  code;          # Service, manufacturer, office supplies 
etc.
     #LOOKUP type : vendor::VendorType(code).description = typecode;
         
-    INDEX (companyname);
   };
 
 };



reply via email to

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