Revision 41818 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.mapcontext/org.gvsig.fmap.mapcontext.api/src/test/java/org/gvsig/fmap/mapcontext/persistence/DummyDBFeatureStore.java
DummyDBFeatureStore.java | ||
---|---|---|
73 | 73 |
private String name = "[empty]"; |
74 | 74 |
|
75 | 75 |
public DummyDBFeatureStore() { |
76 |
|
|
76 |
|
|
77 | 77 |
} |
78 |
|
|
78 |
|
|
79 | 79 |
public DummyDBFeatureStore(String id) { |
80 | 80 |
name = "[DATABASE FEATURE STORE - " + id + "]"; |
81 | 81 |
} |
... | ... | |
520 | 520 |
// TODO Auto-generated method stub |
521 | 521 |
|
522 | 522 |
} |
523 |
|
|
524 |
|
|
523 |
|
|
524 |
|
|
525 | 525 |
public static void registerPersistent() { |
526 | 526 |
PersistenceManager manager = ToolsLocator.getPersistenceManager(); |
527 | 527 |
DynStruct definition = manager.addDefinition( |
528 | 528 |
DummyDBFeatureStore.class, |
529 | 529 |
"DummyDBFeatureStore", |
530 | 530 |
"DummyDBFeatureStore Persistence definition", |
531 |
null,
|
|
531 |
null, |
|
532 | 532 |
null |
533 | 533 |
); |
534 | 534 |
definition.addDynFieldString("name"); |
... | ... | |
548 | 548 |
public void createCache(String name, DynObject parameters) |
549 | 549 |
throws DataException { |
550 | 550 |
// TODO Auto-generated method stub |
551 |
|
|
551 |
|
|
552 | 552 |
} |
553 | 553 |
|
554 | 554 |
public FeatureCache getCache() { |
... | ... | |
613 | 613 |
// TODO Auto-generated method stub |
614 | 614 |
return null; |
615 | 615 |
} |
616 |
|
|
616 |
|
|
617 | 617 |
/* (non-Javadoc) |
618 | 618 |
* @see java.lang.Object#clone() |
619 | 619 |
*/ |
... | ... | |
627 | 627 |
*/ |
628 | 628 |
public void commitChanges() throws DataException { |
629 | 629 |
// TODO Auto-generated method stub |
630 |
|
|
630 |
|
|
631 | 631 |
} |
632 | 632 |
|
633 | 633 |
/* (non-Javadoc) |
... | ... | |
637 | 637 |
// TODO Auto-generated method stub |
638 | 638 |
return false; |
639 | 639 |
} |
640 |
|
|
641 |
public Feature getFeature(DynObject dynobject) { |
|
642 |
// TODO Auto-generated method stub |
|
643 |
return null; |
|
644 |
} |
|
640 | 645 |
} |
Also available in: Unified diff