PopulateHelper

class Object
trait Matchable
class Any

Value members

Concrete methods

final def getType(clazz: Class[_]): EntityType
final def getType(obj: Entity[_]): EntityType
def populate[T <: Entity[_]](clazz: Class[T], name: String): T

将request中的参数设置到clazz对应的bean。

将request中的参数设置到clazz对应的bean。

def populate[T <: Entity[_]](clazz: Class[T]): T
def populate(entityType: EntityType, name: String): Object
def populate[T <: Entity[_]](obj: T, entityType: EntityType, name: String): T
def populate[T <: Entity[_]](obj: T, params: Map[String, Any]): T
def populate[T <: Entity[_]](obj: T, entityType: EntityType, params: Map[String, Any]): T

Concrete fields

var populator: ConvertPopulator