svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.spi / src / main / java / org / gvsig / fmap / dal / spi / AbstractDataStoreProviderFactory.java @ 40559
History | View | Annotate | Download (2.17 KB)
1 | 40559 | jjdelcerro | /**
|
---|---|---|---|
2 | * gvSIG. Desktop Geographic Information System.
|
||
3 | *
|
||
4 | * Copyright (C) 2007-2013 gvSIG Association.
|
||
5 | *
|
||
6 | * This program is free software; you can redistribute it and/or
|
||
7 | * modify it under the terms of the GNU General Public License
|
||
8 | * as published by the Free Software Foundation; either version 3
|
||
9 | * of the License, or (at your option) any later version.
|
||
10 | *
|
||
11 | * This program is distributed in the hope that it will be useful,
|
||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
14 | * GNU General Public License for more details.
|
||
15 | *
|
||
16 | * You should have received a copy of the GNU General Public License
|
||
17 | * along with this program; if not, write to the Free Software
|
||
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||
19 | * MA 02110-1301, USA.
|
||
20 | *
|
||
21 | * For any additional information, do not hesitate to contact us
|
||
22 | * at info AT gvsig.com, or visit our website www.gvsig.com.
|
||
23 | */
|
||
24 | 40435 | jjdelcerro | package org.gvsig.fmap.dal.spi; |
25 | |||
26 | import org.gvsig.fmap.dal.DataStoreProviderFactory; |
||
27 | import org.gvsig.tools.dynobject.DynObject; |
||
28 | import org.gvsig.tools.service.ServiceException; |
||
29 | import org.gvsig.tools.service.spi.Provider; |
||
30 | import org.gvsig.tools.service.spi.ProviderServices; |
||
31 | |||
32 | public abstract class AbstractDataStoreProviderFactory implements |
||
33 | DataStoreProviderFactory { |
||
34 | |||
35 | private String name = null; |
||
36 | private String description = ""; |
||
37 | |||
38 | |||
39 | protected AbstractDataStoreProviderFactory(String name, String description) { |
||
40 | this.name = name;
|
||
41 | this.description = description;
|
||
42 | } |
||
43 | |||
44 | public final Provider create(DynObject parameters, ProviderServices services) |
||
45 | throws ServiceException {
|
||
46 | throw new UnsupportedOperationException(); |
||
47 | } |
||
48 | |||
49 | public final void initialize() { |
||
50 | throw new UnsupportedOperationException(); |
||
51 | } |
||
52 | |||
53 | public final String getName() { |
||
54 | return this.name; |
||
55 | } |
||
56 | |||
57 | public final String getDescription() { |
||
58 | return this.description; |
||
59 | } |
||
60 | |||
61 | public int allowRead() { |
||
62 | return UNKNOWN;
|
||
63 | } |
||
64 | |||
65 | public int allowWrite() { |
||
66 | return UNKNOWN;
|
||
67 | } |
||
68 | |||
69 | public int allowCreate() { |
||
70 | return UNKNOWN;
|
||
71 | } |
||
72 | |||
73 | public int hasTabularSupport() { |
||
74 | return UNKNOWN;
|
||
75 | } |
||
76 | |||
77 | public int hasVectorialSupport() { |
||
78 | return UNKNOWN;
|
||
79 | } |
||
80 | |||
81 | public int hasRasterSupport() { |
||
82 | return UNKNOWN;
|
||
83 | } |
||
84 | } |