Revision 24250 branches/v2_0_0_prep/libraries/libFMap_dataDB/src/org/gvsig/fmap/data/feature/db/DBStoreParameters.java

View differences:

DBStoreParameters.java
40 40
	}
41 41

  
42 42
	public String getDb() {
43
		return (String) this.get("db");
43
		return (String) this.getAttribute("db");
44 44
	}
45 45

  
46 46
	public void setDb(String db) {
47 47
		this.put("db", db);
48 48
	}
49 49
	public String getHost() {
50
		return (String) this.get("host");
50
		return (String) this.getAttribute("host");
51 51
	}
52 52
	public void setHost(String host) {
53 53
		this.put("host", host);
54 54
	}
55 55
	public String getPort() {
56
		return (String) this.get("port");
56
		return (String) this.getAttribute("port");
57 57
	}
58 58
	public void setPort(String port) {
59 59
		this.put("port", port);
60 60
	}
61 61
	public String getSchema() {
62
		return (String) this.get("schema");
62
		return (String) this.getAttribute("schema");
63 63
	}
64 64
	public void setSchema(String schema) {
65 65
		this.put("schema", schema);
66 66
	}
67 67
	public String getPassw() {
68
		return (String) this.get("passw");
68
		return (String) this.getAttribute("passw");
69 69
	}
70 70
	public void setPassw(String passw) {
71 71
		this.put("passw", passw);
72 72
	}
73 73

  
74 74
	public String getUser() {
75
		return (String) this.get("user");
75
		return (String) this.getAttribute("user");
76 76
	}
77 77

  
78 78
	public void setUser(String user) {
......
80 80
	}
81 81

  
82 82
	public String getCatalog() {
83
		return (String) this.get("catalog");
83
		return (String) this.getAttribute("catalog");
84 84
	}
85 85

  
86 86
	public void setCatalog(String catalog) {
......
88 88
	}
89 89

  
90 90
	public String getBaseFilter() {
91
		return (String) this.get("baseFilter");
91
		return (String) this.getAttribute("baseFilter");
92 92
	}
93 93

  
94 94
	public void setBaseFilter(String baseFilter) {
......
96 96
	}
97 97

  
98 98
	public String getBaseOrder() {
99
		return (String) this.get("baseOrder");
99
		return (String) this.getAttribute("baseOrder");
100 100
	}
101 101
	public void setBaseOrder(String baseOrder) {
102 102
		this.put("baseOrder", baseOrder);
103 103
	}
104 104
	public String[] getFields() {
105
		return (String[]) this.get("fields");
105
		return (String[]) this.getAttribute("fields");
106 106
	}
107 107
	public void setFields(String[] fields) {
108 108
		this.put("fields", fields);
......
132 132
	}
133 133

  
134 134
	public String getTableName() {
135
		return (String) this.get("tableName");
135
		return (String) this.getAttribute("tableName");
136 136
	}
137 137
	public void setTableName(String tableName) {
138 138
		this.put("tableName", tableName);
......
145 145
		return schema + "." + this.getTableName();
146 146
	}
147 147
	public String[] getFieldsId() {
148
		return (String[]) this.get("fieldsId");
148
		return (String[]) this.getAttribute("fieldsId");
149 149
	}
150 150
	public void setFieldsId(String[] fieldsId) {
151 151
		this.put("fieldsId", fieldsId);
......
172 172
				&& this.getFieldsId().length > 0 && this.getDb() != null;
173 173
	}
174 174
	public String getSqlSoure() {
175
		return (String) this.get("sqlSoure");
175
		return (String) this.getAttribute("sqlSoure");
176 176
	}
177 177
	public void setSqlSoure(String sqlSoure) {
178 178
		this.put("sqlSoure", sqlSoure);
179 179
	}
180 180
	public String getDefaultGeometryField() {
181
		return (String) this.get("defaultGeometryField");
181
		return (String) this.getAttribute("defaultGeometryField");
182 182
	}
183 183
	public void setDefaultGeometryField(String geometryColumn) {
184 184
		this.put("defaultGeometryField", geometryColumn);
185 185
	}
186 186
	public String getSRISD() {
187
		return (String) this.get("SRISD");
187
		return (String) this.getAttribute("SRISD");
188 188
	}
189 189
	public void setSRISD(String srisd) {
190 190
		this.put("SRISD", srisd);
191 191
	}
192 192
	public Envelope getWorkingArea() {
193
		return (Envelope) this.get("workingArea");
193
		return (Envelope) this.getAttribute("workingArea");
194 194
	}
195 195
	public void setWorkingArea(Envelope workingArea) {
196 196
		this.put("workingArea", workingArea);

Also available in: Unified diff