svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libFMap_dal / src / org / gvsig / fmap / dal / spi / AbstractDataStoreProviderFactory.java @ 36202
History | View | Annotate | Download (1.23 KB)
1 |
package org.gvsig.fmap.dal.spi; |
---|---|
2 |
|
3 |
import org.gvsig.fmap.dal.DataStoreProviderFactory; |
4 |
import org.gvsig.tools.dynobject.DynObject; |
5 |
import org.gvsig.tools.service.ServiceException; |
6 |
import org.gvsig.tools.service.spi.Provider; |
7 |
import org.gvsig.tools.service.spi.ProviderServices; |
8 |
|
9 |
public abstract class AbstractDataStoreProviderFactory implements |
10 |
DataStoreProviderFactory { |
11 |
|
12 |
private String name = null; |
13 |
private String description = ""; |
14 |
|
15 |
|
16 |
protected AbstractDataStoreProviderFactory(String name, String description) { |
17 |
this.name = name;
|
18 |
this.description = description;
|
19 |
} |
20 |
|
21 |
public final Provider create(DynObject parameters, ProviderServices services) |
22 |
throws ServiceException {
|
23 |
throw new UnsupportedOperationException(); |
24 |
} |
25 |
|
26 |
public final void initialize() { |
27 |
throw new UnsupportedOperationException(); |
28 |
} |
29 |
|
30 |
public final String getName() { |
31 |
return this.name; |
32 |
} |
33 |
|
34 |
public final String getDescription() { |
35 |
return this.description; |
36 |
} |
37 |
|
38 |
public int allowRead() { |
39 |
return UNKNOWN;
|
40 |
} |
41 |
|
42 |
public int allowWrite() { |
43 |
return UNKNOWN;
|
44 |
} |
45 |
|
46 |
public int allowCreate() { |
47 |
return UNKNOWN;
|
48 |
} |
49 |
|
50 |
public int hasTabularSupport() { |
51 |
return UNKNOWN;
|
52 |
} |
53 |
|
54 |
public int hasVectorialSupport() { |
55 |
return UNKNOWN;
|
56 |
} |
57 |
|
58 |
public int hasRasterSupport() { |
59 |
return UNKNOWN;
|
60 |
} |
61 |
} |