KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > setup > util > hibernate > DialectMapping


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  *****************************************/

9 package org.jboss.portal.setup.util.hibernate;
10
11 /**
12  * @author <a HREF="mailto:palber@novell.com">Polina Alber</a>
13  * Date: May 9, 2005; Time: 6:00:02 PM
14  * @since JBoss portal 2.0
15  * Class org.jboss.portal.setup.util.hibernate.DialectMapping
16  */

17 public class DialectMapping
18 {
19     private String JavaDoc m_conUrlPrefix = null;
20    private String JavaDoc m_conDriverClass = null;
21    private String JavaDoc m_hbDialectClass = null;
22
23    public String JavaDoc getConUrlPrefix()
24    {
25       return m_conUrlPrefix;
26    }
27
28    public String JavaDoc getConDriverClass()
29    {
30       return m_conDriverClass;
31    }
32
33    public String JavaDoc getHbDialectClass()
34    {
35       return m_hbDialectClass;
36    }
37
38
39
40    public DialectMapping(String JavaDoc conUrlPrefix, String JavaDoc conDriverClass, String JavaDoc hbDialectClass)
41    {
42       m_conUrlPrefix = conUrlPrefix;
43       m_conDriverClass = conDriverClass;
44       m_hbDialectClass = hbDialectClass;
45    }
46
47
48 }
49
Popular Tags