EntityImporter

org.beangle.data.transfer.importer.EntityImporter
trait EntityImporter extends Importer

EntityImporter interface.

Attributes

Graph
Supertypes
trait Importer
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Inherited methods

添加转换监听器

添加转换监听器

Attributes

Inherited from:
Importer
def current: AnyRef

返回方前正在转换成的对象

返回方前正在转换成的对象

Attributes

Inherited from:
Importer
def current_=(obj: AnyRef): Unit

设置当前正在转换的对象

设置当前正在转换的对象

Attributes

Inherited from:
Importer
def dataLocation: String

Attributes

Inherited from:
Importer
def dataName: String

转换数据的名称

转换数据的名称

Attributes

Inherited from:
Importer
def description(attr: String): String

Attributes

Inherited from:
Importer
def fail: Int

得到转换过程中失败的个数

得到转换过程中失败的个数

Attributes

Inherited from:
Importer
def format: Format

转换数据的类型

转换数据的类型

Attributes

Inherited from:
Importer
def ignoreNull: Boolean

是否忽略空值

是否忽略空值

Attributes

Inherited from:
Importer
def isDataValid: Boolean

当前读入的数据是否有效

当前读入的数据是否有效

Attributes

Inherited from:
Importer
def locale: Locale

转换使用的locale

转换使用的locale

Attributes

Inherited from:
Importer
def read(): Boolean

读取数据,设置内部步进状态等

读取数据,设置内部步进状态等

Attributes

Inherited from:
Importer
def success: Int

得到转换过程中成功的个数

得到转换过程中成功的个数

Attributes

Inherited from:
Importer
def transfer(tr: ImportResult): Unit

启动转换

启动转换

Attributes

Inherited from:
Importer
def transferIndex: Int

查询正在转换的对象的次序号,从1开始

查询正在转换的对象的次序号,从1开始

Attributes

Inherited from:
Importer
def transferItem(): Unit

转换一个对象

转换一个对象

Attributes

Inherited from:
Importer

Concrete fields

var domain: Domain
var populator: Populator

Inherited fields

var attrs: Array[Attribute]

Attributes

Inherited from:
Importer
var curData: Map[String, Any]

Attributes

Inherited from:
Importer

Attributes

Inherited from:
Importer
var reader: Reader

Attributes

Inherited from:
Importer
var stopOnError: Boolean

Attributes

Inherited from:
Importer