ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Servers/AppServer/include/BaseSchemaNConstratints.hpp
Revision: 1.1.1.1 (vendor branch)
Committed: Mon Oct 31 22:10:35 2005 UTC (19 years, 6 months ago) by afaq
Branch: v00, MAIN
CVS Tags: DBS_0_0_3a, DBS_0_0_3, DBS_0_0_2, DBS_0_0_1, pre_DBS_0_0_1, post_dict_type_checking_merge, post_MiniPythonAPI_merged_to_trunk, pre_MiniPythonAPI_merge_to_trunk, DBS_0_0_0, vs20060320, AfterJan2006SchemaChanges_v01_00_01, AfterJan2006SchemaChanges_v01_00_00, AfterJan2006SchemaChanges, BeforeJan2006SchemaChanges, before_message_removal, preXOverChanges, start, HEAD
Branch point for: BranchForCPPWebServiceTesting
Changes since 1.1: +0 -0 lines
Log Message:
Adding Server code to the repository

File Contents

# User Rev Content
1 afaq 1.1 #ifndef _BaseSchemaNConstratints_hpp_included_
2     #define _BaseSchemaNConstratints_hpp_included_
3    
4     /// This file contains Base Class for alll Table type of
5     // Schema and Constaints Classes that are generated from Databasde.
6    
7     # include "common.hpp"
8    
9     class BaseSchemaNConstraintsBinding {
10    
11     public:
12    
13     BaseSchemaNConstraintsBinding();
14     virtual ~BaseSchemaNConstraintsBinding();
15    
16     Dictionary* getSchema(void);
17     Dictionary* getConstraints(void);
18     Dictionary* getReferences(void);
19     Dictionary* getMultiReferences(void);
20    
21     Keys* getPrimaryKeys(void);
22     Keys* getForeignKeys(void);
23     Keys* getNotNullKeys(void);
24     Keys* getSchemaOrder(void);
25    
26     ListOfLists* getUniqueKeys(void);
27    
28     virtual string* getTableName(void){};
29    
30     protected :
31    
32     Keys PrimaryKeys;
33     Keys ForeignKeys;
34     Keys NotNullKeys;
35     Keys SchemaOrder;
36    
37     ListOfLists UniqueKeys;
38    
39     Dictionary Schema;
40     Dictionary Constraints;
41     Dictionary References;
42     Dictionary MultiReferences;
43     Dictionary ExternalReferences;
44    
45     };
46    
47     template<class R>
48     class RowSchemaNConstraintsBinding {
49     public:
50     RowSchemaNConstraintsBinding(){};
51     };
52    
53    
54     #endif
55