ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Servers/AppServer/include/BaseSchemaNConstratints.hpp
Revision: 1.1
Committed: Mon Oct 31 22:10:35 2005 UTC (19 years, 6 months ago) by afaq
Branch point for: v00, MAIN
Log Message:
Initial revision

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