1 | |
package org.apache.ojb.broker.metadata; |
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
public interface RepositoryElements |
27 | |
{ |
28 | |
|
29 | |
public static final int MAPPING_REPOSITORY = 0; |
30 | |
public static final int JDBC_CONNECTION_DESCRIPTOR = 1; |
31 | |
public static final int DBMS_NAME = 2; |
32 | |
public static final int SORT = 3; |
33 | |
public static final int SCHEMA_NAME = 5; |
34 | |
public static final int JCD_ALIAS = 82; |
35 | |
public static final int DEFAULT_CONNECTION = 80; |
36 | |
public static final int DRIVER_NAME = 6; |
37 | |
public static final int URL_PROTOCOL = 7; |
38 | |
public static final int URL_SUBPROTOCOL = 8; |
39 | |
public static final int URL_DBALIAS = 9; |
40 | |
public static final int USER_NAME = 10; |
41 | |
public static final int USER_PASSWD = 11; |
42 | |
public static final int EAGER_RELEASE = 74; |
43 | |
public static final int BATCH_MODE = 83; |
44 | |
public static final int USE_AUTOCOMMIT = 90; |
45 | |
public static final int IGNORE_AUTOCOMMIT_EXCEPTION = 91; |
46 | |
public static final int CLASS_DESCRIPTOR = 12; |
47 | |
public static final int CLASS_NAME = 13; |
48 | |
public static final int CLASS_PROXY = 35; |
49 | |
public static final int CLASS_EXTENT = 33; |
50 | |
public static final int EXTENDS = 76; |
51 | |
public static final int TABLE_NAME = 14; |
52 | |
public static final int ORDERBY = 36; |
53 | |
public static final int FIELD_CONVERSION = 30; |
54 | |
public static final int ROW_READER = 32; |
55 | |
public static final int FIELD_DESCRIPTOR = 15; |
56 | |
public static final int FIELD_NAME = 16; |
57 | |
public static final int COLUMN_NAME = 17; |
58 | |
public static final int JDBC_TYPE = 18; |
59 | |
public static final int PRIMARY_KEY = 19; |
60 | |
public static final int AUTO_INCREMENT = 31; |
61 | |
public static final int SEQUENCE_NAME = 77; |
62 | |
public static final int REFERENCE_DESCRIPTOR = 20; |
63 | |
public static final int REFERENCED_CLASS = 22; |
64 | |
public static final int AUTO_RETRIEVE = 24; |
65 | |
public static final int AUTO_UPDATE = 25; |
66 | |
public static final int AUTO_DELETE = 26; |
67 | |
public static final int OTM_DEPENDENT = 102; |
68 | |
public static final int COLLECTION_DESCRIPTOR = 27; |
69 | |
public static final int ITEMS_CLASS = 29; |
70 | |
public static final int INVERSE_FK = 38; |
71 | |
public static final int COLLECTION_CLASS = 37; |
72 | |
public static final int INDIRECTION_TABLE = 39; |
73 | |
public static final int FK_POINTING_TO_ITEMS_CLASS = 40; |
74 | |
public static final int FK_POINTING_TO_THIS_CLASS = 41; |
75 | |
public static final int DATASOURCE_NAME = 44; |
76 | |
public static final int JDBC_LEVEL = 45; |
77 | |
public static final int LOCKING = 46; |
78 | |
public static final int UPDATE_LOCK = 98; |
79 | |
public static final int REFRESH = 47; |
80 | |
public static final int PROXY_REFERENCE = 48; |
81 | |
public static final int ISOLATION_LEVEL = 34; |
82 | |
public static final int FOREIGN_KEY = 49; |
83 | |
public static final int NULLABLE = 50; |
84 | |
public static final int INDEXED = 51; |
85 | |
public static final int LENGTH = 52; |
86 | |
public static final int PRECISION = 53; |
87 | |
public static final int SCALE = 54; |
88 | |
public static final int ACCESS = 99; |
89 | |
|
90 | |
public static final int CON_MAX_ACTIVE = 55; |
91 | |
public static final int CON_MAX_IDLE = 56; |
92 | |
public static final int CON_MAX_WAIT = 57; |
93 | |
public static final int CON_MIN_EVICTABLE_IDLE_TIME_MILLIS = 58; |
94 | |
public static final int CON_NUM_TESTS_PER_EVICTION_RUN = 59; |
95 | |
public static final int CON_TEST_ON_BORROW = 60; |
96 | |
public static final int CON_TEST_ON_RETURN = 61; |
97 | |
public static final int CON_TEST_WHILE_IDLE = 62; |
98 | |
public static final int CON_TIME_BETWEEN_EVICTION_RUNS_MILLIS = 63; |
99 | |
public static final int CON_WHEN_EXHAUSTED_ACTION = 64; |
100 | |
public static final int CON_LOG_ABANDONED = 87; |
101 | |
public static final int CON_REMOVE_ABANDONED = 85; |
102 | |
public static final int CON_REMOVE_ABANDONED_TIMEOUT = 86; |
103 | |
|
104 | |
public static final int CONNECTION_POOL = 65; |
105 | |
public static final int CONNECTION_FACTORY = 66; |
106 | |
public static final int VALIDATION_QUERY = 79; |
107 | |
public static final int SEQUENCE_MANAGER = 88; |
108 | |
public static final int SEQUENCE_MANAGER_CLASS = 89; |
109 | |
|
110 | |
public static final int REPOSITORY_VERSION = 67; |
111 | |
public static final int CLASS_REF = 68; |
112 | |
public static final int ID = 69; |
113 | |
public static final int FIELD_ID_REF = 70; |
114 | |
public static final int FIELD_REF = 84; |
115 | |
public static final int ATTRIBUTE = 71; |
116 | |
public static final int ATTRIBUTE_NAME = 72; |
117 | |
public static final int ATTRIBUTE_VALUE = 73; |
118 | |
public static final int DOCUMENTATION = 75; |
119 | |
public static final int ACCEPT_LOCKS = 78; |
120 | |
public static final int QUERY_CUSTOMIZER = 92; |
121 | |
public static final int INITIALIZATION_METHOD = 93; |
122 | |
public static final int FACTORY_CLASS = 100; |
123 | |
public static final int FACTORY_METHOD = 101; |
124 | |
|
125 | |
public static final int INDEX_DESCRIPTOR = 94; |
126 | |
public static final int INDEX_COLUMN = 95; |
127 | |
public static final int UNIQUE = 96; |
128 | |
public static final int NAME = 97; |
129 | |
|
130 | |
public static final int INSERT_PROCEDURE = 103; |
131 | |
public static final int UPDATE_PROCEDURE = 104; |
132 | |
public static final int DELETE_PROCEDURE = 105; |
133 | |
public static final int CONSTANT_ARGUMENT = 106; |
134 | |
public static final int RUNTIME_ARGUMENT = 107; |
135 | |
public static final int RETURN_FIELD_REF = 108; |
136 | |
public static final int INCLUDE_ALL_FIELDS = 109; |
137 | |
public static final int INCLUDE_PK_FIELDS_ONLY = 110; |
138 | |
public static final int RETURN = 111; |
139 | |
public static final int VALUE = 112; |
140 | |
|
141 | |
public static final int OBJECT_CACHE = 113; |
142 | |
|
143 | |
public static final int PROXY_PREFETCHING_LIMIT = 114; |
144 | |
|
145 | |
|
146 | |
static final int _NEXT = 115; |
147 | |
|
148 | |
|
149 | |
public static final String TAG_ACCESS = "access"; |
150 | |
|
151 | |
public static final String TAG_ACCESS_ANONYMOUS = "anonymous"; |
152 | |
public static final String TAG_ACCESS_READONLY = "readonly"; |
153 | |
public static final String TAG_ACCESS_READWRITE = "readwrite"; |
154 | |
|
155 | |
public static final String TAG_SUPER = "super"; |
156 | |
|
157 | |
public static final String CASCADE_NONE_STR = "none"; |
158 | |
public static final String CASCADE_LINK_STR = "link"; |
159 | |
public static final String CASCADE_OBJECT_STR = "object"; |
160 | |
|
161 | |
} |