package model
provides tools for constructing your domain model
- Source
- package.scala
- Alphabetic
- By Inheritance
- model
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
abstract
class
CType
[C] extends AnyRef
a type class for a persistent component
-
type
CTypePool = TypeKeyMap[Any, CType]
a type key map for component types
a type key map for component types
- See also
emblem.TypeKeyMap
-
abstract
class
DerivedCType
[C, Poly >: C] extends CType[C]
one of the derived types in a family of component types.
-
abstract
class
DerivedPType
[P, Poly >: P] extends PType[P]
one of the derived types in a family of persistent types.
one of the derived types in a family of persistent types. mix this in to youe persistent type when it represents a concrete subtype of a PolyPType.
-
class
DomainModel
extends AnyRef
a description of a project's domain model.
a description of a project's domain model. contains a pool of all the persistent types in the model, as well as all the component types.
-
trait
KeyVal
[P] extends AnyRef
a key value.
a key value.
use this trait to extend the case class you want to use as a key value.
- P
the persistent type
-
abstract
class
PType
[P] extends AnyRef
a type class for a persistent object
a type class for a persistent object
- P
the persistent type
-
type
PTypePool = TypeKeyMap[Any, PType]
a type key map for persistent types
a type key map for persistent types
- See also
emblem.TypeKeyMap
-
trait
PolyCType
[Poly] extends CType[Poly]
the base type for a family of component types.
the base type for a family of component types. use as your CType when it represents an abstract component type with concrete subtypes.
-
trait
PolyPType
[P] extends PType[P]
the base type for a family of persistent types.
the base type for a family of persistent types. mix this in to your persistent type when it represents an abstract persistent type with concrete subtypes.
Value Members
-
object
CType
contains a factory method for creating
CTypes -
object
CTypePool
contains factory methods for creating a component type pool
-
object
DerivedCType
contains a factory method for creating
DerivedCTypes -
object
DomainModel
provides factory methods for constructing domain models
-
object
PTypePool
houses methods for constructing persistent type pools
-
object
PolyCType
contains a factory method for creating
PolyCTypes