public class UGCDataProviderSetting extends DataProviderSetting implements MultiInstanceSupported
SuperMap data service provider setting class.
Used to set up SuperMap data service provider information.
maxFeatures| Constructor and Description |
|---|
UGCDataProviderSetting()
The Constructor.
|
UGCDataProviderSetting(UGCDataProviderSetting dataSetting)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
UGCDataProviderSetting |
clone() |
boolean |
equals(java.lang.Object obj)
Compare whether the specified object is equal to the current object.
|
DataProviderDelayCommitSetting |
getDataProviderDelayCommitSetting() |
java.util.List<FilteredDatasourceInfo> |
getDatasourceInfos() |
java.util.List<java.lang.String> |
getDatasourceNames()
Gets the name of the data source used by the data service provider.
|
protected ExcludedFieldsInDatasource[] |
getExcludedFieldsInDatasources() |
ExcludedFieldsInDatasource |
getExcludedFieldsInDatasources(java.lang.String datasourceName) |
java.lang.String |
getWorkspacePath()
Gets the SuperMap workspace path.
|
int |
hashCode()
Gets the hash value of the object instance
|
boolean |
isAttachmentsEnabled()
Whether the attachment function is enabled.
|
boolean |
isFeatureMetadatasEnabled() |
boolean |
isMultiInstance()
Returns whether the current service provider is enabled
|
void |
setAttachmentsEnabled(boolean attachmentsEnabled)
Accessories function switch.
|
void |
setDataProviderDelayCommitSetting(DataProviderDelayCommitSetting dataProviderDelayCommitSetting) |
void |
setDatasourceInfos(java.util.List<FilteredDatasourceInfo> datasourceInfos) |
void |
setDatasourceNames(java.util.List<java.lang.String> datasourceNames)
Sets the name of the data source used by the data service provider.
|
protected void |
setExcludedFieldsInDatasources(ExcludedFieldsInDatasource[] excludedFieldsInDatasources) |
void |
setFeatureMetadatasEnabled(boolean featureMetadatasEnabled) |
void |
setMultiInstance(boolean isMultiInstance)
Sets whether the current service provider is enabled
|
void |
setWorkspacePath(java.lang.String workspacePath)
Sets the SuperMap workspace path.
|
getMaxFeatures, setMaxFeaturespublic UGCDataProviderSetting()
The Constructor.
public UGCDataProviderSetting(UGCDataProviderSetting dataSetting)
Copy constructor.
Constructs a UGCDataProviderSetting object with SuperMap data service provider configuration information.
dataSetting -public void setWorkspacePath(java.lang.String workspacePath)
Sets the SuperMap workspace path.
workspacePath - SuperMap workspace path.public java.lang.String getWorkspacePath()
Gets the SuperMap workspace path.
public void setDatasourceNames(java.util.List<java.lang.String> datasourceNames)
Sets the name of the data source used by the data service provider.
If do not set, the data service provider uses all data sources in the workspace by default..
datasourceNames -public java.util.List<java.lang.String> getDatasourceNames()
Gets the name of the data source used by the data service provider.
public boolean isAttachmentsEnabled()
Whether the attachment function is enabled.
public void setAttachmentsEnabled(boolean attachmentsEnabled)
Accessories function switch.
attachmentsEnabled -public boolean isFeatureMetadatasEnabled()
public void setFeatureMetadatasEnabled(boolean featureMetadatasEnabled)
featureMetadatasEnabled -public boolean isMultiInstance()
MultiInstanceSupportedReturns whether the current service provider is enabled
isMultiInstance in interface MultiInstanceSupportedpublic void setMultiInstance(boolean isMultiInstance)
MultiInstanceSupportedSets whether the current service provider is enabled
setMultiInstance in interface MultiInstanceSupportedpublic boolean equals(java.lang.Object obj)
Compare whether the specified object is equal to the current object.
equals in class DataProviderSettingobj - the object that is compared with the current object.public int hashCode()
hashCode in class DataProviderSettingpublic ExcludedFieldsInDatasource getExcludedFieldsInDatasources(java.lang.String datasourceName)
protected ExcludedFieldsInDatasource[] getExcludedFieldsInDatasources()
protected void setExcludedFieldsInDatasources(ExcludedFieldsInDatasource[] excludedFieldsInDatasources)
public DataProviderDelayCommitSetting getDataProviderDelayCommitSetting()
public void setDataProviderDelayCommitSetting(DataProviderDelayCommitSetting dataProviderDelayCommitSetting)
public java.util.List<FilteredDatasourceInfo> getDatasourceInfos()
public void setDatasourceInfos(java.util.List<FilteredDatasourceInfo> datasourceInfos)
public UGCDataProviderSetting clone()
clone in class java.lang.Object