01: /**********************************************************************
02: Copyright (c) 2007 Andy Jefferson and others. All rights reserved.
03: Licensed under the Apache License, Version 2.0 (the "License");
04: you may not use this file except in compliance with the License.
05: You may obtain a copy of the License at
06:
07: http://www.apache.org/licenses/LICENSE-2.0
08:
09: Unless required by applicable law or agreed to in writing, software
10: distributed under the License is distributed on an "AS IS" BASIS,
11: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12: See the License for the specific language governing permissions and
13: limitations under the License.
14:
15: Contributors:
16: ...
17: **********************************************************************/package org.jpox.jdo;
18:
19: import javax.jdo.PersistenceManagerFactory;
20: import javax.jdo.identity.ByteIdentity;
21: import javax.jdo.identity.CharIdentity;
22: import javax.jdo.identity.IntIdentity;
23: import javax.jdo.identity.LongIdentity;
24: import javax.jdo.identity.ObjectIdentity;
25: import javax.jdo.identity.ShortIdentity;
26: import javax.jdo.identity.StringIdentity;
27: import javax.jdo.spi.PersistenceCapable;
28:
29: /**
30: * Class providing names of common JDO classes to aid performance.
31: *
32: * @version $Revision: 1.2 $
33: */
34: public class JDOClassNameConstants {
35: /** javax.jdo.identity.LongIdentity **/
36: public static final String JAVAX_JDO_IDENTITY_LONG_IDENTITY = LongIdentity.class
37: .getName();
38: /** javax.jdo.identity.IntIdentity **/
39: public static final String JAVAX_JDO_IDENTITY_INT_IDENTITY = IntIdentity.class
40: .getName();
41: /** javax.jdo.identity.StringIdentity **/
42: public static final String JAVAX_JDO_IDENTITY_STRING_IDENTITY = StringIdentity.class
43: .getName();
44: /** javax.jdo.identity.CharIdentity **/
45: public static final String JAVAX_JDO_IDENTITY_CHAR_IDENTITY = CharIdentity.class
46: .getName();
47: /** javax.jdo.identity.ByteIdentity **/
48: public static final String JAVAX_JDO_IDENTITY_BYTE_IDENTITY = ByteIdentity.class
49: .getName();
50: /** javax.jdo.identity.ObjectIdentity **/
51: public static final String JAVAX_JDO_IDENTITY_OBJECT_IDENTITY = ObjectIdentity.class
52: .getName();
53: /** javax.jdo.identity.ShortIdentity **/
54: public static final String JAVAX_JDO_IDENTITY_SHORT_IDENTITY = ShortIdentity.class
55: .getName();
56: /** javax.jdo.PersistenceManagerFactory **/
57: public static final String JAVAX_JDO_PersistenceManagerFactory = PersistenceManagerFactory.class
58: .getName();
59: /** javax.jdo.spi.PersistenceCapable **/
60: public static final String JAVAX_JDO_SPI_PERSISTENCE_CAPABLE = PersistenceCapable.class
61: .getName();
62:
63: /** org.jpox.jdo.JDOPersistenceManagerFactory **/
64: public static final String JDOPersistenceManagerFactory = JDOPersistenceManagerFactory.class
65: .getName();
66: }
|