com.supermap.services.providers
Class TiandituMapProviderSetting
- java.lang.Object
-
- com.supermap.services.components.spi.MapProviderSetting
-
- com.supermap.services.providers.TiandituMapProviderSetting
-
- All Implemented Interfaces:
- java.io.Serializable
public class TiandituMapProviderSetting extends MapProviderSetting
Tianditu map service provider configures object.
This object is used for the relevant parameter information needed by Tianditu map service provider.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.supermap.services.components.spi.MapProviderSetting
dataPrjCoordSysType, watermark
-
-
Constructor Summary
Constructors Constructor and Description TiandituMapProviderSetting()
-
Method Summary
Methods Modifier and Type Method and Description booleanequals(java.lang.Object obj)Determines whether two objects are equal.booleangetCacheEnabled()Whether to use cache.java.lang.StringgetServicesUrl()Get access address of TiandituinthashCode()Gets the hash value of the object instancevoidsetCacheEnable(boolean cacheEnable)Deprecated.voidsetCacheEnabled(boolean cacheEnabled)Sets whether to use cachingvoidsetServicesUrl(java.lang.String servicesUrl)Sets access address of Tianditu-
Methods inherited from class com.supermap.services.components.spi.MapProviderSetting
getCacheMode, getCacheVersion, getName, getOutputPath, getOutputSite, getWatermark, setCacheMode, setCacheVersion, setName, setOutputPath, setOutputSite, setWatermark
-
-
-
-
Method Detail
-
setCacheEnable
@Deprecated public void setCacheEnable(boolean cacheEnable)
Deprecated. usesetCacheEnabled(boolean)Sets whether to use caching.
- Parameters:
cacheEnable- whether to use cache.
-
getServicesUrl
public java.lang.String getServicesUrl()
Get access address of Tianditu
- Returns:
- access address of Tianditu
-
setServicesUrl
public void setServicesUrl(java.lang.String servicesUrl)
Sets access address of Tianditu
- Parameters:
servicesUrl- access address of Tianditu
-
equals
public boolean equals(java.lang.Object obj)
Determines whether two objects are equal.
- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- the object to be compared.- Returns:
- whether or not equal,and true mean that the two objects are equal.
-
getCacheEnabled
public boolean getCacheEnabled()
Whether to use cache.- Returns:
-
setCacheEnabled
public void setCacheEnabled(boolean cacheEnabled)
Sets whether to use caching- Parameters:
cacheEnabled-
-
hashCode
public int hashCode()
Gets the hash value of the object instance- Overrides:
hashCodein classjava.lang.Object- Returns:
- hash value
-
-