com.supermap.realspace.threeddesigner
类 ImportSetting3D

java.lang.Object
  继承者 com.supermap.realspace.threeddesigner.ImportSetting3D
直接已知子类:
ImportSetting3dxml, ImportSettingGIM, ImportSettingIFC, ImportSettingRVM

public abstract class ImportSetting3D
extends java.lang.Object

模型导入设置信息类。各模型类型导入设置的基类,提供导入设置的公共属性、方法等功能。


构造方法摘要
ImportSetting3D()
          默认构造一个新的 ImportSetting3D 对象。
 
方法摘要
 ModelImportMode getImportMode()
          获取当同名数据集存在时,导入的模式。
 java.lang.String getSourceFilePath()
          获取需要导入的模型文件路径。
 XmlFileType getSourceFileType()
          需要导入模型数据的类型。
 java.lang.String getTargetDatasetName()
          获取目标数据集。
 Datasource getTargetDatasource()
          获取需要导入的数据源对象。
 DatasourceConnectionInfo getTargetDatasourceConnectionInfo()
          获取需要导入的数据源连接信息。
 PrjCoordSys getTargetPriCoordSys()
          设置或获取导入后目标数据的坐标系。
 void setImportMode(ModelImportMode mode)
          设置当同名数据集存在时,导入的模式。
 void setSourceFilePath(java.lang.String value)
          设置需要导入的模型文件路径。
 void setTargetDatasetName(java.lang.String value)
          设置目标数据集。
 void setTargetDatasource(Datasource datasource)
          设置需要导入的数据源对象。
 void setTargetDatasourceConnectionInfo(DatasourceConnectionInfo connectionInfo)
          设置需要导入的数据源连接信息。
 void setTargetPriCoordSys(PrjCoordSys prjCoordSys)
          设置或获取导入后目标数据的坐标系。
 FileType toFileType(XmlFileType type)
          转换文件类型
 XmlFileType toXmlFileType(FileType type)
          转换xml文件类型
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ImportSetting3D

public ImportSetting3D()
默认构造一个新的 ImportSetting3D 对象。

方法详细信息

toFileType

public FileType toFileType(XmlFileType type)
转换文件类型

参数:
type - 3dxml格式文件类型
返回:
文件类型

toXmlFileType

public XmlFileType toXmlFileType(FileType type)
转换xml文件类型

参数:
type - 文件类型
返回:
3dxml格式文件类型

getSourceFilePath

public java.lang.String getSourceFilePath()
获取需要导入的模型文件路径。

返回:
模型文件路径

setSourceFilePath

public void setSourceFilePath(java.lang.String value)
设置需要导入的模型文件路径。

参数:
value - 模型文件路径

getTargetDatasetName

public java.lang.String getTargetDatasetName()
获取目标数据集。

返回:
目标数据集

setTargetDatasetName

public void setTargetDatasetName(java.lang.String value)
设置目标数据集。

参数:
value - 目标数据集

getSourceFileType

public XmlFileType getSourceFileType()
需要导入模型数据的类型。该值与实例所属的类型相对应。

返回:

getImportMode

public ModelImportMode getImportMode()
获取当同名数据集存在时,导入的模式。

返回:
导入的模式

setImportMode

public void setImportMode(ModelImportMode mode)
设置当同名数据集存在时,导入的模式。

参数:
mode - 导入的模式

getTargetDatasourceConnectionInfo

public DatasourceConnectionInfo getTargetDatasourceConnectionInfo()
获取需要导入的数据源连接信息。

返回:
数据源连接信息

setTargetDatasourceConnectionInfo

public void setTargetDatasourceConnectionInfo(DatasourceConnectionInfo connectionInfo)
设置需要导入的数据源连接信息。

参数:
connectionInfo - 数据源连接信息

getTargetDatasource

public Datasource getTargetDatasource()
获取需要导入的数据源对象。

返回:
数据源对象

setTargetDatasource

public void setTargetDatasource(Datasource datasource)
设置需要导入的数据源对象。

参数:
datasource - 数据源对象

getTargetPriCoordSys

public PrjCoordSys getTargetPriCoordSys()
设置或获取导入后目标数据的坐标系。

返回:
目标数据的坐标系

setTargetPriCoordSys

public void setTargetPriCoordSys(PrjCoordSys prjCoordSys)
设置或获取导入后目标数据的坐标系。

参数:
prjCoordSys - 目标数据的坐标系