com.supermap.services.providers
类 OnlyContainDatasourceWorkspace
- java.lang.Object
-
- com.supermap.services.providers.OnlyContainDatasourceWorkspace
-
public class OnlyContainDatasourceWorkspace extends java.lang.Object
只有数据源的虚拟工作空间,没有地图,没有三维场景,没有符号库。
- 从以下版本开始:
- 9.0.0
-
-
构造器概要
构造器 构造器和说明 OnlyContainDatasourceWorkspace(java.util.List<FilteredDatasourceInfo> datasourceInfos, boolean useUgoWorkspace)
-
方法概要
方法 限定符和类型 方法和说明 protected Datasource
createMemoryDatasource()
void
dispose()
销毁java.lang.String
getConnectionInfo()
返回数据源连接信息protected com.supermap.services.providers.OnlyContainDatasourceWorkspace.DatasourceFactory
getDatasourceFactory()
java.util.List<FilteredDatasourceInfo>
getDatasourceInfos()
IDatasources
getDatasources()
返回数据源列表protected Workspace
getOrCreateUGOWorkspace()
Workspace
getUGOWorkspace()
返回内部包装的com.supermap.data.Workspace
对象。protected com.supermap.services.providers.OnlyContainDatasourceWorkspace.UGOWorkspaceFactory
getUgoWorkspaceFactory()
boolean
isSaveSupportedOrNot()
是否支持保存工作空间boolean
open()
boolean
save()
保存工作空间protected void
setDatasourceFactory(com.supermap.services.providers.OnlyContainDatasourceWorkspace.DatasourceFactory datasourceFactory)
void
setDatasourceInfos(java.util.List<FilteredDatasourceInfo> datasourceInfos)
protected void
setUgoWorkspaceFactory(com.supermap.services.providers.OnlyContainDatasourceWorkspace.UGOWorkspaceFactory ugoWorkspaceFactory)
-
-
-
构造器详细资料
-
OnlyContainDatasourceWorkspace
public OnlyContainDatasourceWorkspace(java.util.List<FilteredDatasourceInfo> datasourceInfos, boolean useUgoWorkspace)
-
-
方法详细资料
-
open
public boolean open()
-
save
public boolean save()
保存工作空间
- 返回:
-
isSaveSupportedOrNot
public boolean isSaveSupportedOrNot()
是否支持保存工作空间
- 返回:
-
getConnectionInfo
public java.lang.String getConnectionInfo()
返回数据源连接信息
- 返回:
-
getUGOWorkspace
public Workspace getUGOWorkspace()
返回内部包装的
com.supermap.data.Workspace
对象。- 返回:
-
dispose
public void dispose()
销毁
-
getDatasourceInfos
public java.util.List<FilteredDatasourceInfo> getDatasourceInfos()
-
setDatasourceInfos
public void setDatasourceInfos(java.util.List<FilteredDatasourceInfo> datasourceInfos)
-
getDatasources
public IDatasources getDatasources()
返回数据源列表
- 返回:
-
createMemoryDatasource
protected Datasource createMemoryDatasource()
-
getOrCreateUGOWorkspace
protected Workspace getOrCreateUGOWorkspace()
-
getDatasourceFactory
protected com.supermap.services.providers.OnlyContainDatasourceWorkspace.DatasourceFactory getDatasourceFactory()
-
setDatasourceFactory
protected void setDatasourceFactory(com.supermap.services.providers.OnlyContainDatasourceWorkspace.DatasourceFactory datasourceFactory)
-
getUgoWorkspaceFactory
protected com.supermap.services.providers.OnlyContainDatasourceWorkspace.UGOWorkspaceFactory getUgoWorkspaceFactory()
-
setUgoWorkspaceFactory
protected void setUgoWorkspaceFactory(com.supermap.services.providers.OnlyContainDatasourceWorkspace.UGOWorkspaceFactory ugoWorkspaceFactory)
-
-