OrmEntityType

org.beangle.data.orm.OrmEntityType
final class OrmEntityType(val entityName: String, var clazz: Class[_], var table: Table) extends OrmStructType with EntityType

Attributes

Graph
Supertypes
trait OrmType
trait Type
trait Cloneable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def addProperties(added: Map[String, OrmProperty]): Unit
def cache(region: String, usage: String): OrmEntityType.this.type
def cacheable: Boolean
def copy(): OrmEntityType.this.type
override def id: OrmProperty

Attributes

Definition Classes
def lockStyle(style: String): Unit

Inherited methods

def addProperty(property: OrmProperty): Unit

Attributes

Inherited from:
OrmStructType
override def getProperty(name: String): Option[OrmProperty]

Attributes

Definition Classes
Inherited from:
OrmStructType
def newInstance(): AnyRef

Attributes

Inherited from:
Type
override def property(name: String): OrmProperty

获取属性对应的属性映射,支持嵌入式属性

获取属性对应的属性映射,支持嵌入式属性

Attributes

name

property name

Definition Classes
Inherited from:
OrmStructType

Concrete fields

var cacheAll: Boolean
var cacheRegion: String
var cacheUsage: String
var clazz: Class[_]
val entityName: String
var isAbstract: Boolean
var isLazy: Boolean
var module: Option[String]
var proxy: String
var table: Table

Inherited fields

var properties: Map[String, OrmProperty]

Attributes

Inherited from:
OrmStructType