svn-gvsig-desktop / tags / v2_0_0_Build_2011 / libraries / libFMap_mapcontext / src-test / org / gvsig / fmap / mapcontext / persistence / DummyFileFeatureStore.java @ 33562
History | View | Annotate | Download (41.4 KB)
1 |
package org.gvsig.fmap.mapcontext.persistence; |
---|---|
2 |
|
3 |
import java.text.DateFormat; |
4 |
import java.util.Iterator; |
5 |
import java.util.List; |
6 |
import java.util.Set; |
7 |
|
8 |
import org.cresques.cts.IProjection; |
9 |
|
10 |
import org.gvsig.fmap.dal.DataQuery; |
11 |
import org.gvsig.fmap.dal.DataServerExplorer; |
12 |
import org.gvsig.fmap.dal.DataSet; |
13 |
import org.gvsig.fmap.dal.DataStoreParameters; |
14 |
import org.gvsig.fmap.dal.exception.DataException; |
15 |
import org.gvsig.fmap.dal.exception.ValidateDataParametersException; |
16 |
import org.gvsig.fmap.dal.feature.EditableFeature; |
17 |
import org.gvsig.fmap.dal.feature.EditableFeatureType; |
18 |
import org.gvsig.fmap.dal.feature.Feature; |
19 |
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor; |
20 |
import org.gvsig.fmap.dal.feature.FeatureCache; |
21 |
import org.gvsig.fmap.dal.feature.FeatureIndex; |
22 |
import org.gvsig.fmap.dal.feature.FeatureIndexes; |
23 |
import org.gvsig.fmap.dal.feature.FeatureLocks; |
24 |
import org.gvsig.fmap.dal.feature.FeatureQuery; |
25 |
import org.gvsig.fmap.dal.feature.FeatureReference; |
26 |
import org.gvsig.fmap.dal.feature.FeatureRules; |
27 |
import org.gvsig.fmap.dal.feature.FeatureSelection; |
28 |
import org.gvsig.fmap.dal.feature.FeatureSet; |
29 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
30 |
import org.gvsig.fmap.dal.feature.FeatureStoreTransforms; |
31 |
import org.gvsig.fmap.dal.feature.FeatureType; |
32 |
import org.gvsig.fmap.dal.feature.NewFeatureStoreParameters; |
33 |
import org.gvsig.fmap.dal.feature.exception.NeedEditingModeException; |
34 |
import org.gvsig.fmap.geom.Geometry; |
35 |
import org.gvsig.fmap.geom.primitive.Envelope; |
36 |
import org.gvsig.tools.ToolsLocator; |
37 |
import org.gvsig.tools.dataTypes.CoercionException; |
38 |
import org.gvsig.tools.dataTypes.DataType; |
39 |
import org.gvsig.tools.dynobject.DynClass; |
40 |
import org.gvsig.tools.dynobject.DynField; |
41 |
import org.gvsig.tools.dynobject.DynMethod; |
42 |
import org.gvsig.tools.dynobject.DynObject; |
43 |
import org.gvsig.tools.dynobject.DynObjectValueItem; |
44 |
import org.gvsig.tools.dynobject.DynStruct; |
45 |
import org.gvsig.tools.dynobject.exception.DynFieldIsNotAContainerException; |
46 |
import org.gvsig.tools.dynobject.exception.DynFieldNotFoundException; |
47 |
import org.gvsig.tools.dynobject.exception.DynFieldValidateException; |
48 |
import org.gvsig.tools.dynobject.exception.DynMethodException; |
49 |
import org.gvsig.tools.dynobject.exception.DynObjectValidateException; |
50 |
import org.gvsig.tools.evaluator.Evaluator; |
51 |
import org.gvsig.tools.exception.BaseException; |
52 |
import org.gvsig.tools.observer.Observer; |
53 |
import org.gvsig.tools.persistence.PersistenceManager; |
54 |
import org.gvsig.tools.persistence.PersistentState; |
55 |
import org.gvsig.tools.persistence.exception.PersistenceException; |
56 |
import org.gvsig.tools.undo.RedoException; |
57 |
import org.gvsig.tools.undo.UndoException; |
58 |
import org.gvsig.tools.visitor.Visitor; |
59 |
|
60 |
public class DummyFileFeatureStore implements FeatureStore { |
61 |
|
62 |
public static class DummyFeatureAttributeDescriptor implements |
63 |
FeatureAttributeDescriptor { |
64 |
|
65 |
public boolean allowNull() { |
66 |
// TODO Auto-generated method stub
|
67 |
return false; |
68 |
} |
69 |
|
70 |
public Object getAdditionalInfo(String infoName) { |
71 |
// TODO Auto-generated method stub
|
72 |
return null; |
73 |
} |
74 |
|
75 |
public FeatureAttributeDescriptor getCopy() {
|
76 |
// TODO Auto-generated method stub
|
77 |
return null; |
78 |
} |
79 |
|
80 |
public DataType getDataType() {
|
81 |
// TODO Auto-generated method stub
|
82 |
return null; |
83 |
} |
84 |
|
85 |
public String getDataTypeName() { |
86 |
// TODO Auto-generated method stub
|
87 |
return null; |
88 |
} |
89 |
|
90 |
public DateFormat getDateFormat() { |
91 |
// TODO Auto-generated method stub
|
92 |
return null; |
93 |
} |
94 |
|
95 |
public Object getDefaultValue() { |
96 |
// TODO Auto-generated method stub
|
97 |
return null; |
98 |
} |
99 |
|
100 |
public Evaluator getEvaluator() {
|
101 |
// TODO Auto-generated method stub
|
102 |
return null; |
103 |
} |
104 |
|
105 |
public int getGeometrySubType() { |
106 |
// TODO Auto-generated method stub
|
107 |
return 0; |
108 |
} |
109 |
|
110 |
public int getGeometryType() { |
111 |
return Geometry.TYPES.POINT;
|
112 |
} |
113 |
|
114 |
public int getIndex() { |
115 |
// TODO Auto-generated method stub
|
116 |
return 0; |
117 |
} |
118 |
|
119 |
public int getMaximumOccurrences() { |
120 |
// TODO Auto-generated method stub
|
121 |
return 0; |
122 |
} |
123 |
|
124 |
public int getMinimumOccurrences() { |
125 |
// TODO Auto-generated method stub
|
126 |
return 0; |
127 |
} |
128 |
|
129 |
public String getName() { |
130 |
// TODO Auto-generated method stub
|
131 |
return null; |
132 |
} |
133 |
|
134 |
public Class getObjectClass() { |
135 |
// TODO Auto-generated method stub
|
136 |
return null; |
137 |
} |
138 |
|
139 |
public int getPrecision() { |
140 |
// TODO Auto-generated method stub
|
141 |
return 0; |
142 |
} |
143 |
|
144 |
public IProjection getSRS() {
|
145 |
// TODO Auto-generated method stub
|
146 |
return null; |
147 |
} |
148 |
|
149 |
public int getSize() { |
150 |
// TODO Auto-generated method stub
|
151 |
return 0; |
152 |
} |
153 |
|
154 |
public int getType() { |
155 |
// TODO Auto-generated method stub
|
156 |
return 0; |
157 |
} |
158 |
|
159 |
public boolean isAutomatic() { |
160 |
// TODO Auto-generated method stub
|
161 |
return false; |
162 |
} |
163 |
|
164 |
public boolean isPrimaryKey() { |
165 |
// TODO Auto-generated method stub
|
166 |
return false; |
167 |
} |
168 |
|
169 |
public boolean isReadOnly() { |
170 |
// TODO Auto-generated method stub
|
171 |
return false; |
172 |
} |
173 |
|
174 |
public String getSubtype() { |
175 |
// TODO Auto-generated method stub
|
176 |
return null; |
177 |
} |
178 |
|
179 |
public String getDescription() { |
180 |
// TODO Auto-generated method stub
|
181 |
return null; |
182 |
} |
183 |
|
184 |
public String getGroup() { |
185 |
// TODO Auto-generated method stub
|
186 |
return null; |
187 |
} |
188 |
|
189 |
public int getOder() { |
190 |
// TODO Auto-generated method stub
|
191 |
return 0; |
192 |
} |
193 |
|
194 |
public boolean isMandatory() { |
195 |
// TODO Auto-generated method stub
|
196 |
return false; |
197 |
} |
198 |
|
199 |
public boolean isPersistent() { |
200 |
// TODO Auto-generated method stub
|
201 |
return false; |
202 |
} |
203 |
|
204 |
public boolean isHidden() { |
205 |
// TODO Auto-generated method stub
|
206 |
return false; |
207 |
} |
208 |
|
209 |
public boolean isContainer() { |
210 |
// TODO Auto-generated method stub
|
211 |
return false; |
212 |
} |
213 |
|
214 |
public DynObjectValueItem[] getAvailableValues() { |
215 |
// TODO Auto-generated method stub
|
216 |
return null; |
217 |
} |
218 |
|
219 |
public Object getMinValue() { |
220 |
// TODO Auto-generated method stub
|
221 |
return null; |
222 |
} |
223 |
|
224 |
public Object getMaxValue() { |
225 |
// TODO Auto-generated method stub
|
226 |
return null; |
227 |
} |
228 |
|
229 |
public Class getClassOfValue() { |
230 |
// TODO Auto-generated method stub
|
231 |
return null; |
232 |
} |
233 |
|
234 |
public Class getClassOfItems() { |
235 |
// TODO Auto-generated method stub
|
236 |
return null; |
237 |
} |
238 |
|
239 |
public DynField setDescription(String description) { |
240 |
// TODO Auto-generated method stub
|
241 |
return null; |
242 |
} |
243 |
|
244 |
public DynField setType(int type) { |
245 |
// TODO Auto-generated method stub
|
246 |
return null; |
247 |
} |
248 |
|
249 |
public DynField setType(DataType type) {
|
250 |
// TODO Auto-generated method stub
|
251 |
return null; |
252 |
} |
253 |
|
254 |
public DynField setSubtype(String subtype) { |
255 |
// TODO Auto-generated method stub
|
256 |
return null; |
257 |
} |
258 |
|
259 |
public DynField setDefaultFieldValue(Object defaultValue) { |
260 |
// TODO Auto-generated method stub
|
261 |
return null; |
262 |
} |
263 |
|
264 |
public DynField setGroup(String groupName) { |
265 |
// TODO Auto-generated method stub
|
266 |
return null; |
267 |
} |
268 |
|
269 |
public DynField setOrder(int order) { |
270 |
// TODO Auto-generated method stub
|
271 |
return null; |
272 |
} |
273 |
|
274 |
public DynField setMandatory(boolean mandatory) { |
275 |
// TODO Auto-generated method stub
|
276 |
return null; |
277 |
} |
278 |
|
279 |
public DynField setHidden(boolean hidden) { |
280 |
// TODO Auto-generated method stub
|
281 |
return null; |
282 |
} |
283 |
|
284 |
public DynField setPersistent(boolean persistent) { |
285 |
// TODO Auto-generated method stub
|
286 |
return null; |
287 |
} |
288 |
|
289 |
public DynField setAvailableValues(DynObjectValueItem[] values) { |
290 |
// TODO Auto-generated method stub
|
291 |
return null; |
292 |
} |
293 |
|
294 |
public DynField setAvailableValues(List values) { |
295 |
// TODO Auto-generated method stub
|
296 |
return null; |
297 |
} |
298 |
|
299 |
public DynField setMinValue(Object minValue) { |
300 |
// TODO Auto-generated method stub
|
301 |
return null; |
302 |
} |
303 |
|
304 |
public DynField setMaxValue(Object maxValue) { |
305 |
// TODO Auto-generated method stub
|
306 |
return null; |
307 |
} |
308 |
|
309 |
public DynField setClassOfValue(Class theClass) |
310 |
throws DynFieldIsNotAContainerException {
|
311 |
// TODO Auto-generated method stub
|
312 |
return null; |
313 |
} |
314 |
|
315 |
public DynField setClassOfItems(Class theClass) |
316 |
throws DynFieldIsNotAContainerException {
|
317 |
// TODO Auto-generated method stub
|
318 |
return null; |
319 |
} |
320 |
|
321 |
public DynField setReadOnly(boolean isReadOnly) { |
322 |
// TODO Auto-generated method stub
|
323 |
return null; |
324 |
} |
325 |
|
326 |
public DynField getElementsType() {
|
327 |
// TODO Auto-generated method stub
|
328 |
return null; |
329 |
} |
330 |
|
331 |
public DynField setElementsType(int type) |
332 |
throws DynFieldIsNotAContainerException {
|
333 |
// TODO Auto-generated method stub
|
334 |
return null; |
335 |
} |
336 |
|
337 |
public DynField setElementsType(DynStruct type)
|
338 |
throws DynFieldIsNotAContainerException {
|
339 |
// TODO Auto-generated method stub
|
340 |
return null; |
341 |
} |
342 |
|
343 |
public void validate(Object value) throws DynFieldValidateException { |
344 |
// TODO Auto-generated method stub
|
345 |
|
346 |
} |
347 |
|
348 |
public Object coerce(Object value) throws CoercionException { |
349 |
// TODO Auto-generated method stub
|
350 |
return null; |
351 |
} |
352 |
|
353 |
public int getTheTypeOfAvailableValues() { |
354 |
// TODO Auto-generated method stub
|
355 |
return 0; |
356 |
} |
357 |
|
358 |
public DynField setDefaultDynValue(Object defaultValue) { |
359 |
// TODO Auto-generated method stub
|
360 |
return null; |
361 |
} |
362 |
|
363 |
public DynField setTheTypeOfAvailableValues(int type) { |
364 |
// TODO Auto-generated method stub
|
365 |
return null; |
366 |
} |
367 |
|
368 |
public Object coerce(Object value) throws CoercionException { |
369 |
// TODO Auto-generated method stub
|
370 |
return null; |
371 |
} |
372 |
|
373 |
public DynObjectValueItem[] getAvailableValues() { |
374 |
// TODO Auto-generated method stub
|
375 |
return null; |
376 |
} |
377 |
|
378 |
public Class getClassOfItems() { |
379 |
// TODO Auto-generated method stub
|
380 |
return null; |
381 |
} |
382 |
|
383 |
public Class getClassOfValue() { |
384 |
// TODO Auto-generated method stub
|
385 |
return null; |
386 |
} |
387 |
|
388 |
public String getDescription() { |
389 |
// TODO Auto-generated method stub
|
390 |
return null; |
391 |
} |
392 |
|
393 |
public DynField getElementsType() {
|
394 |
// TODO Auto-generated method stub
|
395 |
return null; |
396 |
} |
397 |
|
398 |
public String getGroup() { |
399 |
// TODO Auto-generated method stub
|
400 |
return null; |
401 |
} |
402 |
|
403 |
public Object getMaxValue() { |
404 |
// TODO Auto-generated method stub
|
405 |
return null; |
406 |
} |
407 |
|
408 |
public Object getMinValue() { |
409 |
// TODO Auto-generated method stub
|
410 |
return null; |
411 |
} |
412 |
|
413 |
public int getOder() { |
414 |
// TODO Auto-generated method stub
|
415 |
return 0; |
416 |
} |
417 |
|
418 |
public String getSubtype() { |
419 |
// TODO Auto-generated method stub
|
420 |
return null; |
421 |
} |
422 |
|
423 |
public int getTheTypeOfAvailableValues() { |
424 |
// TODO Auto-generated method stub
|
425 |
return 0; |
426 |
} |
427 |
|
428 |
public boolean isContainer() { |
429 |
// TODO Auto-generated method stub
|
430 |
return false; |
431 |
} |
432 |
|
433 |
public boolean isHidden() { |
434 |
// TODO Auto-generated method stub
|
435 |
return false; |
436 |
} |
437 |
|
438 |
public boolean isMandatory() { |
439 |
// TODO Auto-generated method stub
|
440 |
return false; |
441 |
} |
442 |
|
443 |
public boolean isPersistent() { |
444 |
// TODO Auto-generated method stub
|
445 |
return false; |
446 |
} |
447 |
|
448 |
public DynField setAvailableValues(DynObjectValueItem[] values) { |
449 |
// TODO Auto-generated method stub
|
450 |
return null; |
451 |
} |
452 |
|
453 |
public DynField setAvailableValues(List values) { |
454 |
// TODO Auto-generated method stub
|
455 |
return null; |
456 |
} |
457 |
|
458 |
public DynField setClassOfItems(Class theClass) |
459 |
throws DynFieldIsNotAContainerException {
|
460 |
// TODO Auto-generated method stub
|
461 |
return null; |
462 |
} |
463 |
|
464 |
public DynField setClassOfValue(Class theClass) |
465 |
throws DynFieldIsNotAContainerException {
|
466 |
// TODO Auto-generated method stub
|
467 |
return null; |
468 |
} |
469 |
|
470 |
public DynField setDefaultDynValue(Object defaultValue) { |
471 |
// TODO Auto-generated method stub
|
472 |
return null; |
473 |
} |
474 |
|
475 |
public DynField setDefaultFieldValue(Object defaultValue) { |
476 |
// TODO Auto-generated method stub
|
477 |
return null; |
478 |
} |
479 |
|
480 |
public DynField setDescription(String description) { |
481 |
// TODO Auto-generated method stub
|
482 |
return null; |
483 |
} |
484 |
|
485 |
public DynField setElementsType(int type) |
486 |
throws DynFieldIsNotAContainerException {
|
487 |
// TODO Auto-generated method stub
|
488 |
return null; |
489 |
} |
490 |
|
491 |
public DynField setElementsType(DynStruct type)
|
492 |
throws DynFieldIsNotAContainerException {
|
493 |
// TODO Auto-generated method stub
|
494 |
return null; |
495 |
} |
496 |
|
497 |
public DynField setGroup(String groupName) { |
498 |
// TODO Auto-generated method stub
|
499 |
return null; |
500 |
} |
501 |
|
502 |
public DynField setHidden(boolean hidden) { |
503 |
// TODO Auto-generated method stub
|
504 |
return null; |
505 |
} |
506 |
|
507 |
public DynField setMandatory(boolean mandatory) { |
508 |
// TODO Auto-generated method stub
|
509 |
return null; |
510 |
} |
511 |
|
512 |
public DynField setMaxValue(Object maxValue) { |
513 |
// TODO Auto-generated method stub
|
514 |
return null; |
515 |
} |
516 |
|
517 |
public DynField setMinValue(Object minValue) { |
518 |
// TODO Auto-generated method stub
|
519 |
return null; |
520 |
} |
521 |
|
522 |
public DynField setOrder(int order) { |
523 |
// TODO Auto-generated method stub
|
524 |
return null; |
525 |
} |
526 |
|
527 |
public DynField setPersistent(boolean persistent) { |
528 |
// TODO Auto-generated method stub
|
529 |
return null; |
530 |
} |
531 |
|
532 |
public DynField setReadOnly(boolean isReadOnly) { |
533 |
// TODO Auto-generated method stub
|
534 |
return null; |
535 |
} |
536 |
|
537 |
public DynField setSubtype(String subtype) { |
538 |
// TODO Auto-generated method stub
|
539 |
return null; |
540 |
} |
541 |
|
542 |
public DynField setTheTypeOfAvailableValues(int type) { |
543 |
// TODO Auto-generated method stub
|
544 |
return null; |
545 |
} |
546 |
|
547 |
public DynField setType(int type) { |
548 |
// TODO Auto-generated method stub
|
549 |
return null; |
550 |
} |
551 |
|
552 |
public DynField setType(DataType type) {
|
553 |
// TODO Auto-generated method stub
|
554 |
return null; |
555 |
} |
556 |
|
557 |
public void validate(Object value) throws DynFieldValidateException { |
558 |
// TODO Auto-generated method stub
|
559 |
|
560 |
} |
561 |
|
562 |
} |
563 |
|
564 |
public static class DummyFeatureType implements FeatureType { |
565 |
|
566 |
public boolean allowAutomaticValues() { |
567 |
// TODO Auto-generated method stub
|
568 |
return false; |
569 |
} |
570 |
|
571 |
public Object get(String name) { |
572 |
// TODO Auto-generated method stub
|
573 |
return null; |
574 |
} |
575 |
|
576 |
public Object get(int index) { |
577 |
// TODO Auto-generated method stub
|
578 |
return null; |
579 |
} |
580 |
|
581 |
public FeatureAttributeDescriptor getAttributeDescriptor(String name) { |
582 |
// TODO Auto-generated method stub
|
583 |
return null; |
584 |
} |
585 |
|
586 |
public FeatureAttributeDescriptor getAttributeDescriptor(int index) { |
587 |
return new DummyFeatureAttributeDescriptor(); |
588 |
} |
589 |
|
590 |
public FeatureAttributeDescriptor[] getAttributeDescriptors() { |
591 |
// TODO Auto-generated method stub
|
592 |
return null; |
593 |
} |
594 |
|
595 |
public FeatureType getCopy() {
|
596 |
// TODO Auto-generated method stub
|
597 |
return null; |
598 |
} |
599 |
|
600 |
public FeatureAttributeDescriptor getDefaultGeometryAttribute() {
|
601 |
// TODO Auto-generated method stub
|
602 |
return null; |
603 |
} |
604 |
|
605 |
public int getDefaultGeometryAttributeIndex() { |
606 |
return 0; |
607 |
} |
608 |
|
609 |
public String getDefaultGeometryAttributeName() { |
610 |
// TODO Auto-generated method stub
|
611 |
return null; |
612 |
} |
613 |
|
614 |
public IProjection getDefaultSRS() {
|
615 |
// TODO Auto-generated method stub
|
616 |
return null; |
617 |
} |
618 |
|
619 |
public EditableFeatureType getEditable() {
|
620 |
// TODO Auto-generated method stub
|
621 |
return null; |
622 |
} |
623 |
|
624 |
public String getId() { |
625 |
// TODO Auto-generated method stub
|
626 |
return null; |
627 |
} |
628 |
|
629 |
public int getIndex(String name) { |
630 |
// TODO Auto-generated method stub
|
631 |
return 0; |
632 |
} |
633 |
|
634 |
public FeatureAttributeDescriptor[] getPrimaryKey() { |
635 |
// TODO Auto-generated method stub
|
636 |
return null; |
637 |
} |
638 |
|
639 |
public FeatureRules getRules() {
|
640 |
// TODO Auto-generated method stub
|
641 |
return null; |
642 |
} |
643 |
|
644 |
public List getSRSs() { |
645 |
// TODO Auto-generated method stub
|
646 |
return null; |
647 |
} |
648 |
|
649 |
public boolean hasEvaluators() { |
650 |
// TODO Auto-generated method stub
|
651 |
return false; |
652 |
} |
653 |
|
654 |
public boolean hasOID() { |
655 |
// TODO Auto-generated method stub
|
656 |
return false; |
657 |
} |
658 |
|
659 |
public Iterator iterator() { |
660 |
// TODO Auto-generated method stub
|
661 |
return null; |
662 |
} |
663 |
|
664 |
public int size() { |
665 |
// TODO Auto-generated method stub
|
666 |
return 0; |
667 |
} |
668 |
|
669 |
public DynClass[] getSuperDynClasses() { |
670 |
// TODO Auto-generated method stub
|
671 |
return null; |
672 |
} |
673 |
|
674 |
public DynMethod getDeclaredDynMethod(String name) |
675 |
throws DynMethodException {
|
676 |
// TODO Auto-generated method stub
|
677 |
return null; |
678 |
} |
679 |
|
680 |
public DynMethod[] getDeclaredDynMethods() throws DynMethodException { |
681 |
// TODO Auto-generated method stub
|
682 |
return null; |
683 |
} |
684 |
|
685 |
public DynMethod getDynMethod(String name) throws DynMethodException { |
686 |
// TODO Auto-generated method stub
|
687 |
return null; |
688 |
} |
689 |
|
690 |
public DynMethod[] getDynMethods() throws DynMethodException { |
691 |
// TODO Auto-generated method stub
|
692 |
return null; |
693 |
} |
694 |
|
695 |
public DynMethod getDynMethod(int code) throws DynMethodException { |
696 |
// TODO Auto-generated method stub
|
697 |
return null; |
698 |
} |
699 |
|
700 |
public void addDynMethod(DynMethod dynMethod) { |
701 |
// TODO Auto-generated method stub
|
702 |
|
703 |
} |
704 |
|
705 |
public void removeDynMethod(String name) { |
706 |
// TODO Auto-generated method stub
|
707 |
|
708 |
} |
709 |
|
710 |
public String getName() { |
711 |
// TODO Auto-generated method stub
|
712 |
return null; |
713 |
} |
714 |
|
715 |
public String getNamespace() { |
716 |
// TODO Auto-generated method stub
|
717 |
return null; |
718 |
} |
719 |
|
720 |
public String getFullName() { |
721 |
// TODO Auto-generated method stub
|
722 |
return null; |
723 |
} |
724 |
|
725 |
public String getDescription() { |
726 |
// TODO Auto-generated method stub
|
727 |
return null; |
728 |
} |
729 |
|
730 |
public void setNamespace(String namespace) { |
731 |
// TODO Auto-generated method stub
|
732 |
|
733 |
} |
734 |
|
735 |
public void setDescription(String description) { |
736 |
// TODO Auto-generated method stub
|
737 |
|
738 |
} |
739 |
|
740 |
public DynField getDynField(String name) { |
741 |
// TODO Auto-generated method stub
|
742 |
return null; |
743 |
} |
744 |
|
745 |
public DynField getDeclaredDynField(String name) { |
746 |
// TODO Auto-generated method stub
|
747 |
return null; |
748 |
} |
749 |
|
750 |
public DynField[] getDynFields() { |
751 |
// TODO Auto-generated method stub
|
752 |
return null; |
753 |
} |
754 |
|
755 |
public DynField[] getDeclaredDynFields() { |
756 |
// TODO Auto-generated method stub
|
757 |
return null; |
758 |
} |
759 |
|
760 |
public DynField addDynField(String name) { |
761 |
// TODO Auto-generated method stub
|
762 |
return null; |
763 |
} |
764 |
|
765 |
public DynField addDynFieldBoolean(String name) { |
766 |
// TODO Auto-generated method stub
|
767 |
return null; |
768 |
} |
769 |
|
770 |
public DynField addDynFieldInt(String name) { |
771 |
// TODO Auto-generated method stub
|
772 |
return null; |
773 |
} |
774 |
|
775 |
public DynField addDynFieldLong(String name) { |
776 |
// TODO Auto-generated method stub
|
777 |
return null; |
778 |
} |
779 |
|
780 |
public DynField addDynFieldFloat(String name) { |
781 |
// TODO Auto-generated method stub
|
782 |
return null; |
783 |
} |
784 |
|
785 |
public DynField addDynFieldDouble(String name) { |
786 |
// TODO Auto-generated method stub
|
787 |
return null; |
788 |
} |
789 |
|
790 |
public DynField addDynFieldString(String name) { |
791 |
// TODO Auto-generated method stub
|
792 |
return null; |
793 |
} |
794 |
|
795 |
public DynField addDynFieldDate(String name) { |
796 |
// TODO Auto-generated method stub
|
797 |
return null; |
798 |
} |
799 |
|
800 |
public DynField addDynFieldList(String name) { |
801 |
// TODO Auto-generated method stub
|
802 |
return null; |
803 |
} |
804 |
|
805 |
public DynField addDynFieldArray(String name) { |
806 |
// TODO Auto-generated method stub
|
807 |
return null; |
808 |
} |
809 |
|
810 |
public DynField addDynFieldMap(String name) { |
811 |
// TODO Auto-generated method stub
|
812 |
return null; |
813 |
} |
814 |
|
815 |
public DynField addDynFieldSet(String name) { |
816 |
// TODO Auto-generated method stub
|
817 |
return null; |
818 |
} |
819 |
|
820 |
public DynField addDynFieldObject(String name) { |
821 |
// TODO Auto-generated method stub
|
822 |
return null; |
823 |
} |
824 |
|
825 |
public DynField addDynFieldFile(String name) { |
826 |
// TODO Auto-generated method stub
|
827 |
return null; |
828 |
} |
829 |
|
830 |
public DynField addDynFieldFolder(String name) { |
831 |
// TODO Auto-generated method stub
|
832 |
return null; |
833 |
} |
834 |
|
835 |
public DynField addDynFieldURL(String name) { |
836 |
// TODO Auto-generated method stub
|
837 |
return null; |
838 |
} |
839 |
|
840 |
public DynField addDynFieldURI(String name) { |
841 |
// TODO Auto-generated method stub
|
842 |
return null; |
843 |
} |
844 |
|
845 |
public DynField addDynFieldSingle(String name, int type, |
846 |
Object defaultValue, boolean mandatory, boolean persistent) { |
847 |
// TODO Auto-generated method stub
|
848 |
return null; |
849 |
} |
850 |
|
851 |
public DynField addDynFieldSingle(String name, int type, |
852 |
Object defaultValue) {
|
853 |
// TODO Auto-generated method stub
|
854 |
return null; |
855 |
} |
856 |
|
857 |
public DynField addDynFieldRange(String name, int type, |
858 |
Object defaultValue, Object min, Object max, boolean mandatory, |
859 |
boolean persistent) {
|
860 |
// TODO Auto-generated method stub
|
861 |
return null; |
862 |
} |
863 |
|
864 |
public DynField addDynFieldRange(String name, int type, |
865 |
Object defaultValue, Object min, Object max) { |
866 |
// TODO Auto-generated method stub
|
867 |
return null; |
868 |
} |
869 |
|
870 |
public DynField addDynFieldChoice(String name, int type, |
871 |
Object defaultValue, DynObjectValueItem[] values, |
872 |
boolean mandatory, boolean persistent) { |
873 |
// TODO Auto-generated method stub
|
874 |
return null; |
875 |
} |
876 |
|
877 |
public DynField addDynFieldChoice(String name, int type, |
878 |
Object defaultValue, DynObjectValueItem[] values) { |
879 |
// TODO Auto-generated method stub
|
880 |
return null; |
881 |
} |
882 |
|
883 |
public void removeDynField(String name) { |
884 |
// TODO Auto-generated method stub
|
885 |
|
886 |
} |
887 |
|
888 |
public void validate(DynObject object) |
889 |
throws DynObjectValidateException {
|
890 |
// TODO Auto-generated method stub
|
891 |
|
892 |
} |
893 |
|
894 |
public DynObject newInstance() {
|
895 |
// TODO Auto-generated method stub
|
896 |
return null; |
897 |
} |
898 |
|
899 |
public void extend(DynStruct struct) { |
900 |
// TODO Auto-generated method stub
|
901 |
|
902 |
} |
903 |
|
904 |
public void extend(String namespace, String structName) { |
905 |
// TODO Auto-generated method stub
|
906 |
|
907 |
} |
908 |
|
909 |
public void extend(String structName) { |
910 |
// TODO Auto-generated method stub
|
911 |
|
912 |
} |
913 |
|
914 |
public DynStruct[] getSuperDynStructs() { |
915 |
// TODO Auto-generated method stub
|
916 |
return null; |
917 |
} |
918 |
|
919 |
public boolean isInstance(DynObject dynObject) { |
920 |
// TODO Auto-generated method stub
|
921 |
return false; |
922 |
} |
923 |
|
924 |
public void addDynMethod(DynMethod dynMethod) { |
925 |
// TODO Auto-generated method stub
|
926 |
|
927 |
} |
928 |
|
929 |
public DynMethod getDeclaredDynMethod(String name) |
930 |
throws DynMethodException {
|
931 |
// TODO Auto-generated method stub
|
932 |
return null; |
933 |
} |
934 |
|
935 |
public DynMethod[] getDeclaredDynMethods() throws DynMethodException { |
936 |
// TODO Auto-generated method stub
|
937 |
return null; |
938 |
} |
939 |
|
940 |
public DynMethod getDynMethod(String name) throws DynMethodException { |
941 |
// TODO Auto-generated method stub
|
942 |
return null; |
943 |
} |
944 |
|
945 |
public DynMethod getDynMethod(int code) throws DynMethodException { |
946 |
// TODO Auto-generated method stub
|
947 |
return null; |
948 |
} |
949 |
|
950 |
public DynMethod[] getDynMethods() throws DynMethodException { |
951 |
// TODO Auto-generated method stub
|
952 |
return null; |
953 |
} |
954 |
|
955 |
public DynClass[] getSuperDynClasses() { |
956 |
// TODO Auto-generated method stub
|
957 |
return null; |
958 |
} |
959 |
|
960 |
public void removeDynMethod(String name) { |
961 |
// TODO Auto-generated method stub
|
962 |
|
963 |
} |
964 |
|
965 |
public DynField addDynField(String name) { |
966 |
// TODO Auto-generated method stub
|
967 |
return null; |
968 |
} |
969 |
|
970 |
public DynField addDynFieldArray(String name) { |
971 |
// TODO Auto-generated method stub
|
972 |
return null; |
973 |
} |
974 |
|
975 |
public DynField addDynFieldBoolean(String name) { |
976 |
// TODO Auto-generated method stub
|
977 |
return null; |
978 |
} |
979 |
|
980 |
public DynField addDynFieldChoice(String name, int type, |
981 |
Object defaultValue, DynObjectValueItem[] values, |
982 |
boolean mandatory, boolean persistent) { |
983 |
// TODO Auto-generated method stub
|
984 |
return null; |
985 |
} |
986 |
|
987 |
public DynField addDynFieldChoice(String name, int type, |
988 |
Object defaultValue, DynObjectValueItem[] values) { |
989 |
// TODO Auto-generated method stub
|
990 |
return null; |
991 |
} |
992 |
|
993 |
public DynField addDynFieldDate(String name) { |
994 |
// TODO Auto-generated method stub
|
995 |
return null; |
996 |
} |
997 |
|
998 |
public DynField addDynFieldDouble(String name) { |
999 |
// TODO Auto-generated method stub
|
1000 |
return null; |
1001 |
} |
1002 |
|
1003 |
public DynField addDynFieldFile(String name) { |
1004 |
// TODO Auto-generated method stub
|
1005 |
return null; |
1006 |
} |
1007 |
|
1008 |
public DynField addDynFieldFloat(String name) { |
1009 |
// TODO Auto-generated method stub
|
1010 |
return null; |
1011 |
} |
1012 |
|
1013 |
public DynField addDynFieldFolder(String name) { |
1014 |
// TODO Auto-generated method stub
|
1015 |
return null; |
1016 |
} |
1017 |
|
1018 |
public DynField addDynFieldInt(String name) { |
1019 |
// TODO Auto-generated method stub
|
1020 |
return null; |
1021 |
} |
1022 |
|
1023 |
public DynField addDynFieldList(String name) { |
1024 |
// TODO Auto-generated method stub
|
1025 |
return null; |
1026 |
} |
1027 |
|
1028 |
public DynField addDynFieldLong(String name) { |
1029 |
// TODO Auto-generated method stub
|
1030 |
return null; |
1031 |
} |
1032 |
|
1033 |
public DynField addDynFieldMap(String name) { |
1034 |
// TODO Auto-generated method stub
|
1035 |
return null; |
1036 |
} |
1037 |
|
1038 |
public DynField addDynFieldObject(String name) { |
1039 |
// TODO Auto-generated method stub
|
1040 |
return null; |
1041 |
} |
1042 |
|
1043 |
public DynField addDynFieldRange(String name, int type, |
1044 |
Object defaultValue, Object min, Object max, boolean mandatory, |
1045 |
boolean persistent) {
|
1046 |
// TODO Auto-generated method stub
|
1047 |
return null; |
1048 |
} |
1049 |
|
1050 |
public DynField addDynFieldRange(String name, int type, |
1051 |
Object defaultValue, Object min, Object max) { |
1052 |
// TODO Auto-generated method stub
|
1053 |
return null; |
1054 |
} |
1055 |
|
1056 |
public DynField addDynFieldSet(String name) { |
1057 |
// TODO Auto-generated method stub
|
1058 |
return null; |
1059 |
} |
1060 |
|
1061 |
public DynField addDynFieldSingle(String name, int type, |
1062 |
Object defaultValue, boolean mandatory, boolean persistent) { |
1063 |
// TODO Auto-generated method stub
|
1064 |
return null; |
1065 |
} |
1066 |
|
1067 |
public DynField addDynFieldSingle(String name, int type, |
1068 |
Object defaultValue) {
|
1069 |
// TODO Auto-generated method stub
|
1070 |
return null; |
1071 |
} |
1072 |
|
1073 |
public DynField addDynFieldString(String name) { |
1074 |
// TODO Auto-generated method stub
|
1075 |
return null; |
1076 |
} |
1077 |
|
1078 |
public DynField addDynFieldURI(String name) { |
1079 |
// TODO Auto-generated method stub
|
1080 |
return null; |
1081 |
} |
1082 |
|
1083 |
public DynField addDynFieldURL(String name) { |
1084 |
// TODO Auto-generated method stub
|
1085 |
return null; |
1086 |
} |
1087 |
|
1088 |
public void extend(DynStruct struct) { |
1089 |
// TODO Auto-generated method stub
|
1090 |
|
1091 |
} |
1092 |
|
1093 |
public void extend(String namespace, String structName) { |
1094 |
// TODO Auto-generated method stub
|
1095 |
|
1096 |
} |
1097 |
|
1098 |
public void extend(String structName) { |
1099 |
// TODO Auto-generated method stub
|
1100 |
|
1101 |
} |
1102 |
|
1103 |
public DynField getDeclaredDynField(String name) { |
1104 |
// TODO Auto-generated method stub
|
1105 |
return null; |
1106 |
} |
1107 |
|
1108 |
public DynField[] getDeclaredDynFields() { |
1109 |
// TODO Auto-generated method stub
|
1110 |
return null; |
1111 |
} |
1112 |
|
1113 |
public String getDescription() { |
1114 |
// TODO Auto-generated method stub
|
1115 |
return null; |
1116 |
} |
1117 |
|
1118 |
public DynField getDynField(String name) { |
1119 |
// TODO Auto-generated method stub
|
1120 |
return null; |
1121 |
} |
1122 |
|
1123 |
public DynField[] getDynFields() { |
1124 |
// TODO Auto-generated method stub
|
1125 |
return null; |
1126 |
} |
1127 |
|
1128 |
public String getFullName() { |
1129 |
// TODO Auto-generated method stub
|
1130 |
return null; |
1131 |
} |
1132 |
|
1133 |
public String getName() { |
1134 |
// TODO Auto-generated method stub
|
1135 |
return null; |
1136 |
} |
1137 |
|
1138 |
public String getNamespace() { |
1139 |
// TODO Auto-generated method stub
|
1140 |
return null; |
1141 |
} |
1142 |
|
1143 |
public DynStruct[] getSuperDynStructs() { |
1144 |
// TODO Auto-generated method stub
|
1145 |
return null; |
1146 |
} |
1147 |
|
1148 |
public boolean isInstance(DynObject dynObject) { |
1149 |
// TODO Auto-generated method stub
|
1150 |
return false; |
1151 |
} |
1152 |
|
1153 |
public DynObject newInstance() {
|
1154 |
// TODO Auto-generated method stub
|
1155 |
return null; |
1156 |
} |
1157 |
|
1158 |
public void removeDynField(String name) { |
1159 |
// TODO Auto-generated method stub
|
1160 |
|
1161 |
} |
1162 |
|
1163 |
public void setDescription(String description) { |
1164 |
// TODO Auto-generated method stub
|
1165 |
|
1166 |
} |
1167 |
|
1168 |
public void setNamespace(String namespace) { |
1169 |
// TODO Auto-generated method stub
|
1170 |
|
1171 |
} |
1172 |
|
1173 |
public void validate(DynObject object) |
1174 |
throws DynObjectValidateException {
|
1175 |
// TODO Auto-generated method stub
|
1176 |
|
1177 |
} |
1178 |
|
1179 |
} |
1180 |
|
1181 |
private String name = "[empty]"; |
1182 |
|
1183 |
public DummyFileFeatureStore() {
|
1184 |
|
1185 |
} |
1186 |
|
1187 |
public DummyFileFeatureStore(String id) { |
1188 |
name = "[FILE FEATURE STORE - " + id + "]"; |
1189 |
} |
1190 |
|
1191 |
public boolean allowWrite() { |
1192 |
// TODO Auto-generated method stub
|
1193 |
return false; |
1194 |
} |
1195 |
|
1196 |
public void beginEditingGroup(String description) |
1197 |
throws NeedEditingModeException {
|
1198 |
// TODO Auto-generated method stub
|
1199 |
|
1200 |
} |
1201 |
|
1202 |
public boolean canWriteGeometry(int gvSIGgeometryType) throws DataException { |
1203 |
// TODO Auto-generated method stub
|
1204 |
return false; |
1205 |
} |
1206 |
|
1207 |
public void cancelEditing() throws DataException { |
1208 |
// TODO Auto-generated method stub
|
1209 |
|
1210 |
} |
1211 |
|
1212 |
public FeatureQuery createFeatureQuery() {
|
1213 |
// TODO Auto-generated method stub
|
1214 |
return null; |
1215 |
} |
1216 |
|
1217 |
public FeatureSelection createFeatureSelection() throws DataException { |
1218 |
// TODO Auto-generated method stub
|
1219 |
return null; |
1220 |
} |
1221 |
|
1222 |
public FeatureIndex createIndex(FeatureType featureType,
|
1223 |
String attributeName, String indexName) throws DataException { |
1224 |
// TODO Auto-generated method stub
|
1225 |
return null; |
1226 |
} |
1227 |
|
1228 |
public FeatureIndex createIndex(FeatureType featureType,
|
1229 |
String attributeName, String indexName, Observer observer) |
1230 |
throws DataException {
|
1231 |
// TODO Auto-generated method stub
|
1232 |
return null; |
1233 |
} |
1234 |
|
1235 |
public EditableFeature createNewFeature() throws DataException { |
1236 |
// TODO Auto-generated method stub
|
1237 |
return null; |
1238 |
} |
1239 |
|
1240 |
public EditableFeature createNewFeature(FeatureType type,
|
1241 |
Feature defaultValues) throws DataException {
|
1242 |
// TODO Auto-generated method stub
|
1243 |
return null; |
1244 |
} |
1245 |
|
1246 |
public EditableFeature createNewFeature(FeatureType type,
|
1247 |
boolean defaultValues) throws DataException { |
1248 |
// TODO Auto-generated method stub
|
1249 |
return null; |
1250 |
} |
1251 |
|
1252 |
public EditableFeature createNewFeature(boolean defaultValues) |
1253 |
throws DataException {
|
1254 |
// TODO Auto-generated method stub
|
1255 |
return null; |
1256 |
} |
1257 |
|
1258 |
public void delete(Feature feature) throws DataException { |
1259 |
// TODO Auto-generated method stub
|
1260 |
|
1261 |
} |
1262 |
|
1263 |
public void edit() throws DataException { |
1264 |
// TODO Auto-generated method stub
|
1265 |
|
1266 |
} |
1267 |
|
1268 |
public void edit(int mode) throws DataException { |
1269 |
// TODO Auto-generated method stub
|
1270 |
|
1271 |
} |
1272 |
|
1273 |
public void endEditingGroup() throws NeedEditingModeException { |
1274 |
// TODO Auto-generated method stub
|
1275 |
|
1276 |
} |
1277 |
|
1278 |
public void finishEditing() throws DataException { |
1279 |
// TODO Auto-generated method stub
|
1280 |
|
1281 |
} |
1282 |
|
1283 |
public FeatureType getDefaultFeatureType() throws DataException { |
1284 |
return new DummyFeatureType(); |
1285 |
} |
1286 |
|
1287 |
public Envelope getEnvelope() throws DataException { |
1288 |
// TODO Auto-generated method stub
|
1289 |
return null; |
1290 |
} |
1291 |
|
1292 |
public Feature getFeatureByReference(FeatureReference reference)
|
1293 |
throws DataException {
|
1294 |
// TODO Auto-generated method stub
|
1295 |
return null; |
1296 |
} |
1297 |
|
1298 |
public Feature getFeatureByReference(FeatureReference reference,
|
1299 |
FeatureType featureType) throws DataException {
|
1300 |
// TODO Auto-generated method stub
|
1301 |
return null; |
1302 |
} |
1303 |
|
1304 |
public long getFeatureCount() throws DataException { |
1305 |
// TODO Auto-generated method stub
|
1306 |
return 0; |
1307 |
} |
1308 |
|
1309 |
public FeatureSelection getFeatureSelection() throws DataException { |
1310 |
// TODO Auto-generated method stub
|
1311 |
return null; |
1312 |
} |
1313 |
|
1314 |
public FeatureSet getFeatureSet() throws DataException { |
1315 |
// TODO Auto-generated method stub
|
1316 |
return null; |
1317 |
} |
1318 |
|
1319 |
public FeatureSet getFeatureSet(FeatureQuery featureQuery)
|
1320 |
throws DataException {
|
1321 |
// TODO Auto-generated method stub
|
1322 |
return null; |
1323 |
} |
1324 |
|
1325 |
public void getFeatureSet(FeatureQuery featureQuery, Observer observer) |
1326 |
throws DataException {
|
1327 |
// TODO Auto-generated method stub
|
1328 |
|
1329 |
} |
1330 |
|
1331 |
public void getFeatureSet(Observer observer) throws DataException { |
1332 |
// TODO Auto-generated method stub
|
1333 |
|
1334 |
} |
1335 |
|
1336 |
public FeatureType getFeatureType(String featureTypeId) |
1337 |
throws DataException {
|
1338 |
// TODO Auto-generated method stub
|
1339 |
return null; |
1340 |
} |
1341 |
|
1342 |
public List getFeatureTypes() throws DataException { |
1343 |
// TODO Auto-generated method stub
|
1344 |
return null; |
1345 |
} |
1346 |
|
1347 |
public FeatureIndexes getIndexes() {
|
1348 |
// TODO Auto-generated method stub
|
1349 |
return null; |
1350 |
} |
1351 |
|
1352 |
public FeatureLocks getLocks() throws DataException { |
1353 |
// TODO Auto-generated method stub
|
1354 |
return null; |
1355 |
} |
1356 |
|
1357 |
public DataStoreParameters getParameters() {
|
1358 |
// TODO Auto-generated method stub
|
1359 |
return null; |
1360 |
} |
1361 |
|
1362 |
public IProjection getSRSDefaultGeometry() throws DataException { |
1363 |
// TODO Auto-generated method stub
|
1364 |
return null; |
1365 |
} |
1366 |
|
1367 |
public FeatureStoreTransforms getTransforms() {
|
1368 |
// TODO Auto-generated method stub
|
1369 |
return null; |
1370 |
} |
1371 |
|
1372 |
public void insert(EditableFeature feature) throws DataException { |
1373 |
// TODO Auto-generated method stub
|
1374 |
|
1375 |
} |
1376 |
|
1377 |
public boolean isAppendModeSupported() { |
1378 |
// TODO Auto-generated method stub
|
1379 |
return false; |
1380 |
} |
1381 |
|
1382 |
public boolean isAppending() { |
1383 |
// TODO Auto-generated method stub
|
1384 |
return false; |
1385 |
} |
1386 |
|
1387 |
public boolean isEditing() { |
1388 |
// TODO Auto-generated method stub
|
1389 |
return false; |
1390 |
} |
1391 |
|
1392 |
public boolean isLocksSupported() { |
1393 |
// TODO Auto-generated method stub
|
1394 |
return false; |
1395 |
} |
1396 |
|
1397 |
public void setSelection(FeatureSet selection) throws DataException { |
1398 |
// TODO Auto-generated method stub
|
1399 |
|
1400 |
} |
1401 |
|
1402 |
public void update(EditableFeatureType featureType) throws DataException { |
1403 |
// TODO Auto-generated method stub
|
1404 |
|
1405 |
} |
1406 |
|
1407 |
public void update(EditableFeature feature) throws DataException { |
1408 |
// TODO Auto-generated method stub
|
1409 |
|
1410 |
} |
1411 |
|
1412 |
public void validateFeatures(int mode) throws DataException { |
1413 |
// TODO Auto-generated method stub
|
1414 |
|
1415 |
} |
1416 |
|
1417 |
public DataQuery createQuery() {
|
1418 |
// TODO Auto-generated method stub
|
1419 |
return null; |
1420 |
} |
1421 |
|
1422 |
public DataSet createSelection() throws DataException { |
1423 |
// TODO Auto-generated method stub
|
1424 |
return null; |
1425 |
} |
1426 |
|
1427 |
public void dispose() { |
1428 |
// TODO Auto-generated method stub
|
1429 |
|
1430 |
} |
1431 |
|
1432 |
public Iterator getChildren() { |
1433 |
// TODO Auto-generated method stub
|
1434 |
return null; |
1435 |
} |
1436 |
|
1437 |
public DataSet getDataSet() throws DataException { |
1438 |
// TODO Auto-generated method stub
|
1439 |
return null; |
1440 |
} |
1441 |
|
1442 |
public DataSet getDataSet(DataQuery dataQuery) throws DataException { |
1443 |
// TODO Auto-generated method stub
|
1444 |
return null; |
1445 |
} |
1446 |
|
1447 |
public void getDataSet(Observer observer) throws DataException { |
1448 |
// TODO Auto-generated method stub
|
1449 |
|
1450 |
} |
1451 |
|
1452 |
public void getDataSet(DataQuery dataQuery, Observer observer) |
1453 |
throws DataException {
|
1454 |
// TODO Auto-generated method stub
|
1455 |
|
1456 |
} |
1457 |
|
1458 |
public DataServerExplorer getExplorer() throws DataException, |
1459 |
ValidateDataParametersException { |
1460 |
// TODO Auto-generated method stub
|
1461 |
return null; |
1462 |
} |
1463 |
|
1464 |
public String getName() { |
1465 |
return name;
|
1466 |
} |
1467 |
|
1468 |
public DataSet getSelection() throws DataException { |
1469 |
// TODO Auto-generated method stub
|
1470 |
return null; |
1471 |
} |
1472 |
|
1473 |
public void refresh() throws DataException { |
1474 |
// TODO Auto-generated method stub
|
1475 |
|
1476 |
} |
1477 |
|
1478 |
public void setSelection(DataSet selection) throws DataException { |
1479 |
// TODO Auto-generated method stub
|
1480 |
|
1481 |
} |
1482 |
|
1483 |
public void beginComplexNotification() { |
1484 |
// TODO Auto-generated method stub
|
1485 |
|
1486 |
} |
1487 |
|
1488 |
public void disableNotifications() { |
1489 |
// TODO Auto-generated method stub
|
1490 |
|
1491 |
} |
1492 |
|
1493 |
public void enableNotifications() { |
1494 |
// TODO Auto-generated method stub
|
1495 |
|
1496 |
} |
1497 |
|
1498 |
public void endComplexNotification() { |
1499 |
// TODO Auto-generated method stub
|
1500 |
|
1501 |
} |
1502 |
|
1503 |
public void addObserver(Observer o) { |
1504 |
// TODO Auto-generated method stub
|
1505 |
|
1506 |
} |
1507 |
|
1508 |
public void deleteObserver(Observer o) { |
1509 |
// TODO Auto-generated method stub
|
1510 |
|
1511 |
} |
1512 |
|
1513 |
public void deleteObservers() { |
1514 |
// TODO Auto-generated method stub
|
1515 |
|
1516 |
} |
1517 |
|
1518 |
public void loadFromState(PersistentState state) |
1519 |
throws PersistenceException {
|
1520 |
name = state.getString("name");
|
1521 |
} |
1522 |
|
1523 |
public void saveToState(PersistentState state) throws PersistenceException { |
1524 |
state.set("name", name);
|
1525 |
} |
1526 |
|
1527 |
public Set getMetadataChildren() { |
1528 |
// TODO Auto-generated method stub
|
1529 |
return null; |
1530 |
} |
1531 |
|
1532 |
public Object getMetadataID() { |
1533 |
// TODO Auto-generated method stub
|
1534 |
return null; |
1535 |
} |
1536 |
|
1537 |
public String getMetadataName() { |
1538 |
// TODO Auto-generated method stub
|
1539 |
return null; |
1540 |
} |
1541 |
|
1542 |
public void delegate(DynObject dynObject) { |
1543 |
// TODO Auto-generated method stub
|
1544 |
|
1545 |
} |
1546 |
|
1547 |
public DynClass getDynClass() {
|
1548 |
// TODO Auto-generated method stub
|
1549 |
return null; |
1550 |
} |
1551 |
|
1552 |
public Object getDynValue(String name) throws DynFieldNotFoundException { |
1553 |
// TODO Auto-generated method stub
|
1554 |
return null; |
1555 |
} |
1556 |
|
1557 |
public boolean hasDynValue(String name) { |
1558 |
// TODO Auto-generated method stub
|
1559 |
return false; |
1560 |
} |
1561 |
|
1562 |
public void implement(DynClass dynClass) { |
1563 |
// TODO Auto-generated method stub
|
1564 |
|
1565 |
} |
1566 |
|
1567 |
public Object invokeDynMethod(String name, DynObject context) |
1568 |
throws DynMethodException {
|
1569 |
// TODO Auto-generated method stub
|
1570 |
return null; |
1571 |
} |
1572 |
|
1573 |
public Object invokeDynMethod(int code, DynObject context) |
1574 |
throws DynMethodException {
|
1575 |
// TODO Auto-generated method stub
|
1576 |
return null; |
1577 |
} |
1578 |
|
1579 |
public void setDynValue(String name, Object value) |
1580 |
throws DynFieldNotFoundException {
|
1581 |
// TODO Auto-generated method stub
|
1582 |
|
1583 |
} |
1584 |
|
1585 |
public boolean canRedo() { |
1586 |
// TODO Auto-generated method stub
|
1587 |
return false; |
1588 |
} |
1589 |
|
1590 |
public boolean canUndo() { |
1591 |
// TODO Auto-generated method stub
|
1592 |
return false; |
1593 |
} |
1594 |
|
1595 |
public List getRedoInfos() { |
1596 |
// TODO Auto-generated method stub
|
1597 |
return null; |
1598 |
} |
1599 |
|
1600 |
public List getUndoInfos() { |
1601 |
// TODO Auto-generated method stub
|
1602 |
return null; |
1603 |
} |
1604 |
|
1605 |
public void redo() throws RedoException { |
1606 |
// TODO Auto-generated method stub
|
1607 |
|
1608 |
} |
1609 |
|
1610 |
public void redo(int num) throws RedoException { |
1611 |
// TODO Auto-generated method stub
|
1612 |
|
1613 |
} |
1614 |
|
1615 |
public void undo() throws UndoException { |
1616 |
// TODO Auto-generated method stub
|
1617 |
|
1618 |
} |
1619 |
|
1620 |
public void undo(int num) throws UndoException { |
1621 |
// TODO Auto-generated method stub
|
1622 |
|
1623 |
} |
1624 |
|
1625 |
|
1626 |
|
1627 |
public static void registerPersistent() { |
1628 |
PersistenceManager manager = ToolsLocator.getPersistenceManager(); |
1629 |
DynStruct definition = manager.addDefinition( |
1630 |
DummyFileFeatureStore.class, |
1631 |
"DummyFileFeatureStore",
|
1632 |
"DummyFileFeatureStore Persistence definition",
|
1633 |
null,
|
1634 |
null
|
1635 |
); |
1636 |
definition.addDynFieldString("name")
|
1637 |
.setMandatory(true);
|
1638 |
} |
1639 |
|
1640 |
public void accept(Visitor visitor) throws BaseException { |
1641 |
// TODO Auto-generated method stub
|
1642 |
|
1643 |
} |
1644 |
|
1645 |
public void accept(Visitor visitor, DataQuery dataQuery) |
1646 |
throws BaseException {
|
1647 |
// TODO Auto-generated method stub
|
1648 |
|
1649 |
} |
1650 |
|
1651 |
public void createCache(String name, DynObject parameters) |
1652 |
throws DataException {
|
1653 |
// TODO Auto-generated method stub
|
1654 |
|
1655 |
} |
1656 |
|
1657 |
public FeatureCache getCache() {
|
1658 |
// TODO Auto-generated method stub
|
1659 |
return null; |
1660 |
} |
1661 |
|
1662 |
public void clear() { |
1663 |
// Nothing to do
|
1664 |
} |
1665 |
|
1666 |
public void export(DataServerExplorer explorer, String provider, |
1667 |
NewFeatureStoreParameters params) throws DataException {
|
1668 |
// TODO Auto-generated method stub
|
1669 |
|
1670 |
} |
1671 |
|
1672 |
public String getProviderName() { |
1673 |
// TODO Auto-generated method stub
|
1674 |
return null; |
1675 |
} |
1676 |
} |