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 @ 42891
History | View | Annotate | Download (2.34 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 | 42891 | jjdelcerro | @Override
|
45 | 40435 | jjdelcerro | public final Provider create(DynObject parameters, ProviderServices services) |
46 | throws ServiceException {
|
||
47 | throw new UnsupportedOperationException(); |
||
48 | } |
||
49 | |||
50 | 42891 | jjdelcerro | @Override
|
51 | 40435 | jjdelcerro | public final void initialize() { |
52 | throw new UnsupportedOperationException(); |
||
53 | } |
||
54 | |||
55 | 42891 | jjdelcerro | @Override
|
56 | 40435 | jjdelcerro | public final String getName() { |
57 | return this.name; |
||
58 | } |
||
59 | |||
60 | 42891 | jjdelcerro | @Override
|
61 | 40435 | jjdelcerro | public final String getDescription() { |
62 | return this.description; |
||
63 | } |
||
64 | |||
65 | 42891 | jjdelcerro | @Override
|
66 | 40435 | jjdelcerro | public int allowRead() { |
67 | return UNKNOWN;
|
||
68 | } |
||
69 | |||
70 | 42891 | jjdelcerro | @Override
|
71 | 40435 | jjdelcerro | public int allowWrite() { |
72 | return UNKNOWN;
|
||
73 | } |
||
74 | |||
75 | 42891 | jjdelcerro | @Override
|
76 | 40435 | jjdelcerro | public int allowCreate() { |
77 | return UNKNOWN;
|
||
78 | } |
||
79 | |||
80 | 42891 | jjdelcerro | @Override
|
81 | 40435 | jjdelcerro | public int hasTabularSupport() { |
82 | return UNKNOWN;
|
||
83 | } |
||
84 | |||
85 | 42891 | jjdelcerro | @Override
|
86 | 40435 | jjdelcerro | public int hasVectorialSupport() { |
87 | return UNKNOWN;
|
||
88 | } |
||
89 | |||
90 | 42891 | jjdelcerro | @Override
|
91 | 40435 | jjdelcerro | public int hasRasterSupport() { |
92 | return UNKNOWN;
|
||
93 | } |
||
94 | } |