final class Mappings extends Logging
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Mappings
- Logging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addCollection(definition: Collection): Mappings.this.type
- def addMapping(mapping: EntityTypeMapping): Mappings.this.type
- def addType(name: String, clazz: String, params: Map[String, String]): Unit
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def autobind(cls: Class[_], entityName: String, typ: scala.reflect.api.JavaUniverse.Type): EntityTypeMapping
- def autobind(): Unit
-
val
classMappings: HashMap[Class[_], EntityTypeMapping]
all type mappings(clazz -> Entity)
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
val
collectMap: HashMap[String, Collection]
Classname.property -> Collection
- def collections: Iterable[Collection]
-
def
columnName(clazz: Class[_], propertyName: String, key: Boolean = false): String
- key
表示是否是一个外键
- val database: Database
- val entities: HashMap[String, EntityTypeImpl]
-
val
entityMappings: Map[String, EntityTypeMapping]
Only entities
-
val
enumTypes: HashMap[String, String]
Buildin enum types
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def generateSql(pattern: String): DBScripts
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- def getMapping(clazz: Class[_]): EntityTypeMapping
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
logger: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val profiles: Profiles
- def refEntity(clazz: Class[_], entityName: String): EntityTypeImpl
- def refMapping(clazz: Class[_], entityName: String): EntityTypeMapping
- def refToOneMapping(entityClazz: Class[_], entityName: String): BasicTypeMapping
- var sqlTypeMapping: DefaultSqlTypeMapping
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
types: HashMap[String, TypeDef]
custome types
-
val
valueTypes: HashSet[Class[_]]
Buildin value types
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )