package subdomain
provides tools for constructing your subdomain
- Source
- package.scala
- Alphabetic
- By Inheritance
- subdomain
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
AnyKeyVal[P <: Persistent] = KeyVal[P, V] forSome {type V <: KeyVal[P, V]}
an arbitrary key value type for a given persistent type
P -
abstract
class
DerivedEType
[E <: Embeddable, Poly >: E <: Embeddable] extends EType[E]
one of the derived types in a family of domain entity types.
-
abstract
class
DerivedPType
[P <: Persistent, Poly >: P <: Persistent] 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.
-
abstract
class
EType
[E <: Embeddable] extends AnyRef
a type class for an Embeddable
-
type
ETypePool = TypeKeyMap[Embeddable, EType]
a type key map of Embeddable to EType
a type key map of Embeddable to EType
- See also
emblem.TypeKeyMap
-
trait
Embeddable
extends AnyRef
an object that can be embedded in within a persistent object.
an object that can be embedded in within a persistent object. this is an empty, marker trait
-
trait
KeyVal
[P <: Persistent, V <: KeyVal[P, V]] 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
- V
the key value type. a self-recursive type
-
abstract
class
PType
[P <: Persistent] extends AnyRef
a type class for a domain element that is stored in a persistent collection
a type class for a domain element that is stored in a persistent collection
- P
the persistent type
-
type
PTypePool = TypeKeyMap[Persistent, PType]
a type key map of Persistent to PType
a type key map of Persistent to PType
- See also
emblem.TypeKeyMap
-
trait
Persistent
extends AnyRef
a domain element that is stored in a persistent collection.
a domain element that is stored in a persistent collection. this is an empty, marker trait.
-
trait
PolyEType
[Poly <: Embeddable] extends EType[Poly]
the base type for a family of domain entity types.
the base type for a family of domain entity types. mix this in to your EType when it represents an abstract embeddable type with concrete subtypes.
-
trait
PolyPType
[P <: Persistent] 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.
-
class
Subdomain
extends AnyRef
a specification of a subdomain of a project's domain.
a specification of a subdomain of a project's domain. contains a pool of all the persistent types in the subdomain, as well as all the embeddable types.
Value Members
-
object
DerivedEType
contains a factory method for creating
DerivedETypes -
object
EType
contains a factory method for creating
ETypes -
object
ETypePool
contains a factory methods for creating an embeddable type pool
-
object
PTypePool
houses methods for constructing persistent type pools
-
object
PolyEType
contains a factory method for creating
PolyETypes -
object
Subdomain
provides a factory method for constructing subdomains