KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > oracle > toplink > essentials > internal > helper > ClassConstants


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the "License"). You may not use this file except
5  * in compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * glassfish/bootstrap/legal/CDDLv1.0.txt or
9  * https://glassfish.dev.java.net/public/CDDLv1.0.html.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * HEADER in each file and include the License file at
15  * glassfish/bootstrap/legal/CDDLv1.0.txt. If applicable,
16  * add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your
18  * own identifying information: Portions Copyright [yyyy]
19  * [name of copyright owner]
20  */

21 // Copyright (c) 1998, 2005, Oracle. All rights reserved.
22
package oracle.toplink.essentials.internal.helper;
23
24 import java.util.*;
25 import java.math.*;
26 import oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl;
27 import oracle.toplink.essentials.internal.sessions.AbstractSession;
28
29 /**
30  * INTERNAL:
31  */

32 public class ClassConstants {
33     // Java classes
34
public static final Class JavaDoc Collection_Class = Collection.class;
35     public static final Class JavaDoc Hashtable_Class = Hashtable.class;
36     public static final Class JavaDoc Enumeration_Class = Enumeration.class;
37     public static final Class JavaDoc JavaSqlTime_Class = java.sql.Time JavaDoc.class;
38     public static final Class JavaDoc JavaSqlDate_Class = java.sql.Date JavaDoc.class;
39     public static final Class JavaDoc JavaSqlTimestamp_Class = java.sql.Timestamp JavaDoc.class;
40     public static final Class JavaDoc List_Class = List.class;
41     public static final Class JavaDoc Map_Class = Map.class;
42     public static final Class JavaDoc Object_Class = Object JavaDoc.class;
43     public static final Class JavaDoc SortedSet_Class = SortedSet.class;
44     public static final Class JavaDoc Vector_class = Vector.class;
45     public static final Class JavaDoc Void_Class = void.class;
46     public static final Class JavaDoc PropertyChangeEvent_Class = java.beans.PropertyChangeEvent JavaDoc.class;
47
48     // Toplink Classes
49
public static final Class JavaDoc Accessor_Class = oracle.toplink.essentials.internal.databaseaccess.Accessor.class;
50     public static final Class JavaDoc ConversionManager_Class = oracle.toplink.essentials.internal.helper.ConversionManager.class;
51     public static final Class JavaDoc DatabaseQuery_Class = oracle.toplink.essentials.queryframework.DatabaseQuery.class;
52     public static final Class JavaDoc DatabaseRow_Class = oracle.toplink.essentials.internal.sessions.AbstractRecord.class;
53     public static final Class JavaDoc DescriptorEvent_Class = oracle.toplink.essentials.descriptors.DescriptorEvent.class;
54     public static final Class JavaDoc DirectConnector_Class = oracle.toplink.essentials.sessions.DirectConnector.class;
55     public static final Class JavaDoc Expression_Class = oracle.toplink.essentials.expressions.Expression.class;
56     public static final Class JavaDoc FunctionExpression_Class = oracle.toplink.essentials.internal.expressions.FunctionExpression.class;
57     public static final Class JavaDoc IndirectContainer_Class = oracle.toplink.essentials.indirection.IndirectContainer.class;
58     public static final Class JavaDoc IndirectList_Class = oracle.toplink.essentials.indirection.IndirectList.class;
59     public static final Class JavaDoc IndirectMap_Class = oracle.toplink.essentials.indirection.IndirectMap.class;
60     public static final Class JavaDoc LogicalExpression_Class = oracle.toplink.essentials.internal.expressions.LogicalExpression.class;
61     public static final Class JavaDoc PublicInterfaceDatabaseSession_Class = DatabaseSessionImpl.class;
62     public static final Class JavaDoc PublicInterfaceSession_Class = AbstractSession.class;
63     public static final Class JavaDoc QueryKey_Class = oracle.toplink.essentials.querykeys.QueryKey.class;
64     public static final Class JavaDoc RelationExpression_Class = oracle.toplink.essentials.internal.expressions.RelationExpression.class;
65     public static final Class JavaDoc Record_Class = oracle.toplink.essentials.sessions.Record.class;
66     public static final Class JavaDoc ServerSession_Class = oracle.toplink.essentials.threetier.ServerSession.class;
67     public static final Class JavaDoc SessionsSession_Class = oracle.toplink.essentials.sessions.Session.class;
68     public static final Class JavaDoc ValueHolderInterface_Class = oracle.toplink.essentials.indirection.ValueHolderInterface.class;
69    
70     // Identity map classes
71
public static final Class JavaDoc CacheIdentityMap_Class = oracle.toplink.essentials.internal.identitymaps.CacheIdentityMap.class;
72     public static final Class JavaDoc FullIdentityMap_Class = oracle.toplink.essentials.internal.identitymaps.FullIdentityMap.class;
73     public static final Class JavaDoc HardCacheWeakIdentityMap_Class = oracle.toplink.essentials.internal.identitymaps.HardCacheWeakIdentityMap.class;
74     public static final Class JavaDoc NoIdentityMap_Class = oracle.toplink.essentials.internal.identitymaps.NoIdentityMap.class;
75     public static final Class JavaDoc SoftCacheWeakIdentityMap_Class = oracle.toplink.essentials.internal.identitymaps.SoftCacheWeakIdentityMap.class;
76     public static final Class JavaDoc WeakIdentityMap_Class = oracle.toplink.essentials.internal.identitymaps.WeakIdentityMap.class;
77
78     //fetch group class
79
public static final Class JavaDoc FetchGroupTracker_class = oracle.toplink.essentials.queryframework.FetchGroupTracker.class;
80
81     // Moved from ConversionManager
82
public static final Class JavaDoc ABYTE = Byte JavaDoc[].class;
83     public static final Class JavaDoc ACHAR = Character JavaDoc[].class;
84     public static final Class JavaDoc APBYTE = byte[].class;
85     public static final Class JavaDoc APCHAR = char[].class;
86     public static final Class JavaDoc BIGDECIMAL = BigDecimal.class;
87     public static final Class JavaDoc BIGINTEGER = BigInteger.class;
88     public static final Class JavaDoc BOOLEAN = Boolean JavaDoc.class;
89     public static final Class JavaDoc BYTE = Byte JavaDoc.class;
90     public static final Class JavaDoc CLASS = Class JavaDoc.class;
91     public static final Class JavaDoc CHAR = Character JavaDoc.class;
92     public static final Class JavaDoc CALENDAR = Calendar.class;
93     public static final Class JavaDoc DOUBLE = Double JavaDoc.class;
94     public static final Class JavaDoc FLOAT = Float JavaDoc.class;
95     public static final Class JavaDoc GREGORIAN_CALENDAR = GregorianCalendar.class;
96     public static final Class JavaDoc INTEGER = Integer JavaDoc.class;
97     public static final Class JavaDoc LONG = Long JavaDoc.class;
98     public static final Class JavaDoc NUMBER = Number JavaDoc.class;
99     public static final Class JavaDoc OBJECT = Object JavaDoc.class;
100     public static final Class JavaDoc PBOOLEAN = boolean.class;
101     public static final Class JavaDoc PBYTE = byte.class;
102     public static final Class JavaDoc PCHAR = char.class;
103     public static final Class JavaDoc PDOUBLE = double.class;
104     public static final Class JavaDoc PFLOAT = float.class;
105     public static final Class JavaDoc PINT = int.class;
106     public static final Class JavaDoc PLONG = long.class;
107     public static final Class JavaDoc PSHORT = short.class;
108     public static final Class JavaDoc SHORT = Short JavaDoc.class;
109     public static final Class JavaDoc SQLDATE = java.sql.Date JavaDoc.class;
110     public static final Class JavaDoc STRING = String JavaDoc.class;
111     public static final Class JavaDoc TIME = java.sql.Time JavaDoc.class;
112     public static final Class JavaDoc TIMESTAMP = java.sql.Timestamp JavaDoc.class;
113     public static final Class JavaDoc UTILDATE = java.util.Date JavaDoc.class;
114
115     //LOB support types
116
public static final Class JavaDoc BLOB = java.sql.Blob JavaDoc.class;
117     public static final Class JavaDoc CLOB = java.sql.Clob JavaDoc.class;
118
119     //Indication to ConversionManager not to convert classes implementing this interface
120
public static final Class JavaDoc NOCONVERSION = NoConversion.class;
121
122     public ClassConstants() {
123     }
124 }
125
Popular Tags