KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > derby > impl > drda > CodePointNameTable


1 /*
2
3    Derby - Class org.apache.derby.impl.drda.CodePointNameTable
4
5    Licensed to the Apache Software Foundation (ASF) under one or more
6    contributor license agreements. See the NOTICE file distributed with
7    this work for additional information regarding copyright ownership.
8    The ASF licenses this file to You under the Apache License, Version 2.0
9    (the "License"); you may not use this file except in compliance with
10    the License. You may obtain a copy of the License at
11
12       http://www.apache.org/licenses/LICENSE-2.0
13
14    Unless required by applicable law or agreed to in writing, software
15    distributed under the License is distributed on an "AS IS" BASIS,
16    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17    See the License for the specific language governing permissions and
18    limitations under the License.
19
20  */

21 package org.apache.derby.impl.drda;
22
23 /**
24   This class has a hashtable of CodePoint values. It is used by the tracing
25   code and by the protocol testing code
26   It is arranged in alphabetical order.
27 */

28
29 class CodePointNameTable extends java.util.Hashtable JavaDoc
30 {
31   CodePointNameTable ()
32   {
33     put (new Integer JavaDoc (CodePoint.ABNUOWRM), "ABNUOWRM");
34     put (new Integer JavaDoc (CodePoint.ACCRDB), "ACCRDB");
35     put (new Integer JavaDoc (CodePoint.ACCRDBRM), "ACCRDBRM");
36     put (new Integer JavaDoc (CodePoint.ACCSEC), "ACCSEC");
37     put (new Integer JavaDoc (CodePoint.ACCSECRD), "ACCSECRD");
38     put (new Integer JavaDoc (CodePoint.AGENT), "AGENT");
39     put (new Integer JavaDoc (CodePoint.AGNPRMRM), "AGNPRMRM");
40     put (new Integer JavaDoc (CodePoint.BGNBND), "BGNBND");
41     put (new Integer JavaDoc (CodePoint.BGNBNDRM), "BGNBNDRM");
42     put (new Integer JavaDoc (CodePoint.BNDSQLSTT), "BNDSQLSTT");
43     put (new Integer JavaDoc (CodePoint.CCSIDSBC), "CCSIDSBC");
44     put (new Integer JavaDoc (CodePoint.CCSIDMBC), "CCSIDMBC");
45     put (new Integer JavaDoc (CodePoint.CCSIDDBC), "CCSIDDBC");
46     put (new Integer JavaDoc (CodePoint.CLSQRY), "CLSQRY");
47     put (new Integer JavaDoc (CodePoint.CMDATHRM), "CMDATHRM");
48     put (new Integer JavaDoc (CodePoint.CMDCHKRM), "CMDCHKRM");
49     put (new Integer JavaDoc (CodePoint.CMDCMPRM), "CMDCMPRM");
50     put (new Integer JavaDoc (CodePoint.CMDNSPRM), "CMDNSPRM");
51     put (new Integer JavaDoc (CodePoint.CMMRQSRM), "CMMRQSRM");
52     put (new Integer JavaDoc (CodePoint.CMDVLTRM), "CMDVLTRM");
53     put (new Integer JavaDoc (CodePoint.CNTQRY), "CNTQRY");
54     put (new Integer JavaDoc (CodePoint.CRRTKN), "CRRTKN");
55     put (new Integer JavaDoc (CodePoint.DRPPKG), "DRPPKG");
56     put (new Integer JavaDoc (CodePoint.DSCRDBTBL), "DSCRDBTBL");
57     put (new Integer JavaDoc (CodePoint.DSCINVRM), "DSCINVRM");
58     put (new Integer JavaDoc (CodePoint.DSCSQLSTT), "DSCSQLSTT");
59     put (new Integer JavaDoc (CodePoint.DTAMCHRM), "DTAMCHRM");
60     put (new Integer JavaDoc (CodePoint.ENDBND), "ENDBND");
61     put (new Integer JavaDoc (CodePoint.ENDQRYRM), "ENDQRYRM");
62     put (new Integer JavaDoc (CodePoint.ENDUOWRM), "ENDUOWRM");
63     put (new Integer JavaDoc (CodePoint.EXCSAT), "EXCSAT");
64     put (new Integer JavaDoc (CodePoint.EXCSATRD), "EXCSATRD");
65     put (new Integer JavaDoc (CodePoint.EXCSQLIMM), "EXCSQLIMM");
66     put (new Integer JavaDoc (CodePoint.EXCSQLSET), "EXCSQLSET");
67     put (new Integer JavaDoc (CodePoint.EXCSQLSTT), "EXCSQLSTT");
68     put (new Integer JavaDoc (CodePoint.EXTNAM), "EXTNAM");
69     put (new Integer JavaDoc (CodePoint.FRCFIXROW), "FRCFIXROW");
70     put (new Integer JavaDoc (CodePoint.MAXBLKEXT), "MAXBLKEXT");
71     put (new Integer JavaDoc (CodePoint.MAXRSLCNT), "MAXRSLCNT");
72     put (new Integer JavaDoc (CodePoint.MGRDEPRM), "MGRDEPRM");
73     put (new Integer JavaDoc (CodePoint.MGRLVLLS), "MGRLVLLS");
74     put (new Integer JavaDoc (CodePoint.MGRLVLRM), "MGRLVLRM");
75     put (new Integer JavaDoc (CodePoint.MONITOR), "MONITOR");
76     put (new Integer JavaDoc (CodePoint.NBRROW), "NBRROW");
77     put (new Integer JavaDoc (CodePoint.OBJNSPRM), "OBJNSPRM");
78     put (new Integer JavaDoc (CodePoint.OPNQFLRM), "OPNQFLRM");
79     put (new Integer JavaDoc (CodePoint.OPNQRY), "OPNQRY");
80     put (new Integer JavaDoc (CodePoint.OPNQRYRM), "OPNQRYRM");
81     put (new Integer JavaDoc (CodePoint.OUTEXP), "OUTEXP");
82     put (new Integer JavaDoc (CodePoint.OUTOVR), "OUTOVR");
83     put (new Integer JavaDoc (CodePoint.OUTOVROPT), "OUTOVROPT");
84     put (new Integer JavaDoc (CodePoint.PASSWORD), "PASSWORD");
85     put (new Integer JavaDoc (CodePoint.PKGID), "PKGID");
86     put (new Integer JavaDoc (CodePoint.PKGBNARM), "PKGBNARM");
87     put (new Integer JavaDoc (CodePoint.PKGBPARM), "PKGBPARM");
88     put (new Integer JavaDoc (CodePoint.PKGNAMCSN), "PKGNAMCSN");
89     put (new Integer JavaDoc (CodePoint.PKGNAMCT), "PKGNAMCT");
90     put (new Integer JavaDoc (CodePoint.PRCCNVRM), "PRCCNVRM");
91     put (new Integer JavaDoc (CodePoint.PRDID), "PRDID");
92     put (new Integer JavaDoc (CodePoint.PRDDTA), "PRDDTA");
93     put (new Integer JavaDoc (CodePoint.PRMNSPRM), "PRMNSPRM");
94     put (new Integer JavaDoc (CodePoint.PRPSQLSTT), "PRPSQLSTT");
95     put (new Integer JavaDoc (CodePoint.QRYBLKCTL), "QRYBLKCTL");
96     put (new Integer JavaDoc (CodePoint.QRYBLKRST), "QRYBLKRST");
97     put (new Integer JavaDoc (CodePoint.QRYBLKSZ), "QRYBLKSZ");
98     put (new Integer JavaDoc (CodePoint.QRYCLSIMP), "QRYCLSIMP");
99     put (new Integer JavaDoc (CodePoint.QRYCLSRLS), "QRYCLSRLS");
100     put (new Integer JavaDoc (CodePoint.QRYDSC), "QRYDSC");
101     put (new Integer JavaDoc (CodePoint.QRYDTA), "QRYDTA");
102     put (new Integer JavaDoc (CodePoint.QRYINSID), "QRYINSID");
103     put (new Integer JavaDoc (CodePoint.QRYNOPRM), "QRYNOPRM");
104     put (new Integer JavaDoc (CodePoint.QRYPOPRM), "QRYPOPRM");
105     put (new Integer JavaDoc (CodePoint.QRYRELSCR), "QRYRELSCR");
106     put (new Integer JavaDoc (CodePoint.QRYRFRTBL), "QRYRFRTBL");
107     put (new Integer JavaDoc (CodePoint.QRYROWNBR), "QRYROWNBR");
108     put (new Integer JavaDoc (CodePoint.QRYROWSNS), "QRYROWSNS");
109     put (new Integer JavaDoc (CodePoint.QRYRTNDTA), "QRYRTNDTA");
110     put (new Integer JavaDoc (CodePoint.QRYSCRORN), "QRYSCRORN");
111     put (new Integer JavaDoc (CodePoint.QRYROWSET), "QRYROWSET");
112     put (new Integer JavaDoc (CodePoint.RDBAFLRM), "RDBAFLRM");
113     put (new Integer JavaDoc (CodePoint.RDBACCCL), "RDBACCCL");
114     put (new Integer JavaDoc (CodePoint.RDBACCRM), "RDBACCRM");
115     put (new Integer JavaDoc (CodePoint.RDBALWUPD), "RDBALWUPD");
116     put (new Integer JavaDoc (CodePoint.RDBATHRM), "RDBATHRM");
117     put (new Integer JavaDoc (CodePoint.RDBCMM), "RDBCMM");
118     put (new Integer JavaDoc (CodePoint.RDBCMTOK), "RDBCMTOK");
119     put (new Integer JavaDoc (CodePoint.RDBNACRM), "RDBNACRM");
120     put (new Integer JavaDoc (CodePoint.RDBNAM), "RDBNAM");
121     put (new Integer JavaDoc (CodePoint.RDBNFNRM), "RDBNFNRM");
122     put (new Integer JavaDoc (CodePoint.RDBRLLBCK), "RDBRLLBCK");
123     put (new Integer JavaDoc (CodePoint.RDBUPDRM), "RDBUPDRM");
124     put (new Integer JavaDoc (CodePoint.REBIND), "REBIND");
125     put (new Integer JavaDoc (CodePoint.RSCLMTRM), "RSCLMTRM");
126     put (new Integer JavaDoc (CodePoint.RSLSETRM), "RSLSETRM");
127     put (new Integer JavaDoc (CodePoint.RTNEXTDTA), "RTNEXTDTA");
128     put (new Integer JavaDoc (CodePoint.RTNSQLDA), "RTNSQLDA");
129     put (new Integer JavaDoc (CodePoint.SECCHK), "SECCHK");
130     put (new Integer JavaDoc (CodePoint.SECCHKCD), "SECCHKCD");
131     put (new Integer JavaDoc (CodePoint.SECCHKRM), "SECCHKRM");
132     put (new Integer JavaDoc (CodePoint.SECMEC), "SECMEC");
133     put (new Integer JavaDoc (CodePoint.SECMGRNM), "SECMGRNM");
134     put (new Integer JavaDoc (CodePoint.SECTKN), "SECTKN");
135     put (new Integer JavaDoc (CodePoint.SPVNAM), "SPVNAM");
136     put (new Integer JavaDoc (CodePoint.SQLAM), "SQLAM");
137     put (new Integer JavaDoc (CodePoint.SQLATTR), "SQLATTR");
138     put (new Integer JavaDoc (CodePoint.SQLCARD), "SQLCARD");
139     put (new Integer JavaDoc (CodePoint.SQLERRRM), "SQLERRRM");
140     put (new Integer JavaDoc (CodePoint.SQLDARD), "SQLDARD");
141     put (new Integer JavaDoc (CodePoint.SQLDTA), "SQLDTA");
142     put (new Integer JavaDoc (CodePoint.SQLDTARD), "SQLDTARD");
143     put (new Integer JavaDoc (CodePoint.SQLSTT), "SQLSTT");
144     put (new Integer JavaDoc (CodePoint.SQLSTTVRB), "SQLSTTVRB");
145     put (new Integer JavaDoc (CodePoint.SRVCLSNM), "SRVCLSNM");
146     put (new Integer JavaDoc (CodePoint.SRVRLSLV), "SRVRLSLV");
147     put (new Integer JavaDoc (CodePoint.SRVNAM), "SRVNAM");
148     put (new Integer JavaDoc (CodePoint.SVRCOD), "SVRCOD");
149     put (new Integer JavaDoc (CodePoint.SYNCCTL), "SYNCCTL");
150     put (new Integer JavaDoc (CodePoint.SYNCLOG), "SYNCLOG");
151     put (new Integer JavaDoc (CodePoint.SYNCRSY), "SYNCRSY");
152     put (new Integer JavaDoc (CodePoint.SYNTAXRM), "SYNTAXRM");
153     put (new Integer JavaDoc (CodePoint.TRGNSPRM), "TRGNSPRM");
154     put (new Integer JavaDoc (CodePoint.TYPDEFNAM), "TYPDEFNAM");
155     put (new Integer JavaDoc (CodePoint.TYPDEFOVR), "TYPDEFOVR");
156     put (new Integer JavaDoc (CodePoint.TYPSQLDA), "TYPSQLDA");
157     put (new Integer JavaDoc (CodePoint.UOWDSP), "UOWDSP");
158     put (new Integer JavaDoc (CodePoint.USRID), "USRID");
159     put (new Integer JavaDoc (CodePoint.VALNSPRM), "VALNSPRM");
160   }
161
162   String JavaDoc lookup (int codePoint)
163   {
164     return (String JavaDoc) get (new Integer JavaDoc (codePoint));
165   }
166
167 }
168
Popular Tags