public class Bron extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static long |
dataStoreTimestamp |
static String |
LIFECYCLE_CACHE_PARAM |
protected static Map<Map,org.geotools.data.wfs.WFSDataStore> |
perParameterSetDataStoreCache |
static String |
TYPE_EMPTY |
static String |
TYPE_JDBC |
static String |
TYPE_ORACLE |
static String |
TYPE_WFS |
| Constructor and Description |
|---|
Bron() |
Bron(Integer id,
String naam,
String url) |
Bron(Integer id,
String naam,
String url,
String gebruikersnaam,
String wachtwoord,
Integer volgorde) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkType(String type) |
static org.geotools.data.DataStore |
createDataStoreFromParams(Map params) |
static void |
flushWfsCache() |
static long |
getDataStoreLifecycle() |
String |
getGebruikersnaam() |
Integer |
getId() |
String |
getNaam() |
String |
getType() |
String |
getUrl() |
Integer |
getVolgorde() |
String |
getWachtwoord() |
static org.geotools.data.wfs.WFSDataStore |
getWfsCache(HashMap p) |
static boolean |
isCacheExpired() |
static void |
putWfsCache(HashMap p,
org.geotools.data.wfs.WFSDataStore ds) |
static void |
setDataStoreLifecycle(long aDataStoreLifecycle) |
void |
setGebruikersnaam(String gebruikersnaam) |
void |
setId(Integer id) |
void |
setNaam(String naam) |
void |
setUrl(String url) |
void |
setVolgorde(Integer volgorde) |
void |
setWachtwoord(String wachtwoord) |
org.geotools.data.DataStore |
toDatastore() |
org.json.JSONObject |
toJSON() |
String |
toString() |
public static final String TYPE_JDBC
public static final String TYPE_ORACLE
public static final String TYPE_WFS
public static final String TYPE_EMPTY
protected static Map<Map,org.geotools.data.wfs.WFSDataStore> perParameterSetDataStoreCache
protected static long dataStoreTimestamp
public static final String LIFECYCLE_CACHE_PARAM
public Bron()
public Bron(Integer id, String naam, String url, String gebruikersnaam, String wachtwoord, Integer volgorde)
public Integer getId()
public void setId(Integer id)
id - the id to setpublic String getNaam()
public void setNaam(String naam)
naam - the naam to setpublic String getUrl()
public void setUrl(String url)
url - the url to setpublic Integer getVolgorde()
public void setVolgorde(Integer volgorde)
volgorde - the volgorde to setpublic String getGebruikersnaam()
public void setGebruikersnaam(String gebruikersnaam)
gebruikersnaam - the gebruikersnaam to setpublic String getWachtwoord()
public void setWachtwoord(String wachtwoord)
wachtwoord - the wachtwoord to setpublic org.json.JSONObject toJSON()
throws org.json.JSONException
org.json.JSONExceptionpublic String getType()
public boolean checkType(String type)
public org.geotools.data.DataStore toDatastore()
throws IOException,
Exception
IOExceptionExceptionpublic static void flushWfsCache()
public static void putWfsCache(HashMap p, org.geotools.data.wfs.WFSDataStore ds)
public static org.geotools.data.wfs.WFSDataStore getWfsCache(HashMap p)
public static boolean isCacheExpired()
public static long getDataStoreLifecycle()
public static void setDataStoreLifecycle(long aDataStoreLifecycle)
aDataStoreLifecycle - the dataStoreLifecycle to setpublic static org.geotools.data.DataStore createDataStoreFromParams(Map params) throws IOException, Exception
IOExceptionExceptionCopyright © 2016. All rights reserved.