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 |
|