Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.db / org.gvsig.fmap.dal.db.lib / src / main / java / org / gvsig / fmap / dal / resource / db / DBParameters.java @ 40596

History | View | Annotate | Download (2.19 KB)

1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 gvSIG Association.
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24

    
25
package org.gvsig.fmap.dal.resource.db;
26

    
27
/**
28
 * Interface for describe parameters of a Data Base
29
 *
30
 *
31
 * @author jmvivo
32
 *
33
 */
34
public interface DBParameters {
35

    
36
        /**
37
         * Parameter name for <code>host</code>
38
         */
39
        public static final String HOST_PARAMTER_NAME = "host";
40

    
41
        /**
42
         * Parameter name for <code>port</code> 
43
         */
44
        public static final String PORT_PARAMTER_NAME = "port";
45

    
46
        /**
47
         * Parameter name for <code>data base name</code> 
48
         */
49
        public static final String DBNAME_PARAMTER_NAME = "dbname";
50

    
51
        /**
52
         * Parameter name for <code>user</code>
53
         */
54
        public static final String USER_PARAMTER_NAME = "dbuser";
55

    
56
        /**
57
         * Parameter name for <code>password</code>
58
         */
59
        public static final String PASSWORD_PARAMTER_NAME = "password";
60

    
61
        /**
62
         * Return the value of <code>host</code> parameter
63
         *
64
         * @return
65
         */
66
        public String getHost();
67

    
68
        /**
69
         * Return the value of <code>port</code> parameter
70
         *
71
         * @return
72
         */
73
        public Integer getPort();
74

    
75
        /**
76
         * Return the value of <code>data base name</code> parameter
77
         *
78
         * @return
79
         */
80
        public String getDBName();
81

    
82
        /**
83
         * Return the value of <code>password</code> parameter
84
         *
85
         * @return
86
         */
87
        public String getPassword();
88

    
89
        /**
90
         * Return the value of <code>user</code> parameter
91
         *
92
         * @return
93
         */
94
        public String getUser();
95

    
96
}