MultiEntityImporter

org.beangle.data.transfer.importer.MultiEntityImporter

MultiEntityImporter class.

Attributes

Graph
Supertypes
trait Logging
trait Importer
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Concrete methods

def addEntity(clazz: Class[_]): Unit
def addEntity(alias: String, entityClass: Class[_]): Unit
def addEntity(alias: String, entityName: String): Unit
def aliases: Iterable[String]
override def current: AnyRef

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

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

Attributes

Definition Classes
override def current_=(obj: AnyRef): Unit

设置当前正在转换的对象

设置当前正在转换的对象

Attributes

Definition Classes
override def dataName: String

转换数据的名称

转换数据的名称

Attributes

Definition Classes
def getCurrent(alias: String): AnyRef
override def transferItem(): Unit

transferItem.

transferItem.

Attributes

Definition Classes

Inherited methods

override def addListener(listener: ImportListener): Importer

添加转换监听器

添加转换监听器

Attributes

Definition Classes
Inherited from:
AbstractImporter
def changeCurValue(attr: String, value: Any): Unit

改变现有某个属性的值

改变现有某个属性的值

Attributes

Inherited from:
AbstractImporter
override def dataLocation: String

Attributes

Definition Classes
Inherited from:
AbstractImporter
def description(attr: String): String

Attributes

Inherited from:
Importer
override def format: Format

转换数据的类型

转换数据的类型

Attributes

Definition Classes
Inherited from:
AbstractImporter
override def ignoreNull: Boolean

是否忽略空值

是否忽略空值

Attributes

Definition Classes
Inherited from:
AbstractImporter
override def isDataValid: Boolean

当前读入的数据是否有效

当前读入的数据是否有效

Attributes

Definition Classes
Inherited from:
AbstractImporter
override def locale: Locale

转换使用的locale

转换使用的locale

Attributes

Definition Classes
Inherited from:
AbstractImporter
final override def read(): Boolean

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

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

Attributes

Definition Classes
Inherited from:
AbstractImporter
def setAttrs(attrs: List[Attribute]): Unit

Attributes

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

进行转换

进行转换

Attributes

Inherited from:
AbstractImporter
override def transferIndex: Int

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

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

Attributes

Definition Classes
Inherited from:
AbstractImporter

Inherited fields

var attrs: Array[Attribute]

Attributes

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

Attributes

Inherited from:
Importer
var domain: Domain

Attributes

Inherited from:
EntityImporter
var fail: Int

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

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

Attributes

Inherited from:
AbstractImporter
protected var index: Int

Attributes

Inherited from:
AbstractImporter
protected val listeners: ListBuffer[ImportListener]

Attributes

Inherited from:
AbstractImporter
protected val logger: Logger

Attributes

Inherited from:
Logging
var populator: Populator

Attributes

Inherited from:
EntityImporter

Attributes

Inherited from:
Importer
var reader: Reader

Attributes

Inherited from:
Importer
var stopOnError: Boolean

Attributes

Inherited from:
Importer
var success: Int

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

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

Attributes

Inherited from:
AbstractImporter
protected var transferResult: ImportResult

Attributes

Inherited from:
AbstractImporter