Statistics
| Revision:

svn-gvsig-desktop / tags / Root_v10 / extensions / extSDE / src / com / iver / cit / gvsig / fmap / drivers / sde / ArcSdeLayerDefinition2.java @ 13670

History | View | Annotate | Download (2.28 KB)

1
package com.iver.cit.gvsig.fmap.drivers.sde;
2

    
3

    
4

    
5
/**
6
 * SDE Layer definition.
7
 * @author  Vicente Caballero Navarro
8
 */
9
public class ArcSdeLayerDefinition2 extends VectorialSDELayerDefinition {
10
    /**
11
         * @uml.property  name="host"
12
         */
13
    private String host;
14
    /**
15
         * @uml.property  name="port"
16
         */
17
    private String port;
18
    /**
19
         * @uml.property  name="schema"
20
         */
21
    private String schema;
22
    /**
23
         * @uml.property  name="user"
24
         */
25
    private String user;
26
    private String pwd;
27
    /**
28
         * @uml.property  name="connectionName"
29
         */
30
    private String connectionName;
31

    
32
    public ArcSdeLayerDefinition2() {
33
        System.out.println("SDE Layer Definition");
34
    }
35

    
36
    /**
37
         * @param dbHost
38
         * @uml.property  name="host"
39
         */
40
    public void setHost(String dbHost) {
41
        this.host = dbHost;
42
    }
43

    
44
    /**
45
         * @return
46
         * @uml.property  name="host"
47
         */
48
    public String getHost() {
49
        return host;
50
    }
51

    
52
    /**
53
         * @param port
54
         * @uml.property  name="port"
55
         */
56
    public void setPort(String port) {
57
        this.port = port;
58
    }
59

    
60
    /**
61
         * @return
62
         * @uml.property  name="port"
63
         */
64
    public String getPort() {
65
        return port;
66
    }
67

    
68
    /**
69
         * @param schema
70
         * @uml.property  name="schema"
71
         */
72
    public void setSchema(String schema) {
73
        this.schema = schema;
74
    }
75

    
76
    /**
77
         * @return
78
         * @uml.property  name="schema"
79
         */
80
    public String getSchema() {
81
        return schema;
82
    }
83

    
84
    /**
85
         * @param user
86
         * @uml.property  name="user"
87
         */
88
    public void setUser(String user) {
89
        this.user = user;
90
    }
91

    
92
    public void setPassword(String pwd) {
93
        this.pwd = pwd;
94
    }
95

    
96
    public String getPassword() {
97
        return pwd;
98
    }
99

    
100
    /**
101
         * @return
102
         * @uml.property  name="user"
103
         */
104
    public String getUser() {
105
        return user;
106
    }
107

    
108
    /**
109
         * @param connectionName
110
         * @uml.property  name="connectionName"
111
         */
112
    public void setConnectionName(String connectionName) {
113
        this.connectionName = connectionName;
114
    }
115

    
116
    /**
117
         * @return
118
         * @uml.property  name="connectionName"
119
         */
120
    public String getConnectionName() {
121
        return connectionName;
122
    }
123
    /**
124
     * 0 based index of the ID field
125
     * @return Returns the idFieldID.
126
     */
127
    public int getIdFieldID() {
128
        return super.getIdFieldID()-1;
129
    }
130
}