Package

longevity

subdomain

Permalink

package subdomain

provides support for constructing your subdomain

Source
package.scala
Linear Supertypes
Content Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. subdomain
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. trait Assoc[R <: Root] extends AnyRef

    Permalink

    a unidirectional association, or "assoc", between an entity and an aggregate root.

    a unidirectional association, or "assoc", between an entity and an aggregate root. the left side of the association - that is, the holder of the Assoc instance - is known as the associator. the right side of the association is the associatee.

    there are basically two kinds of associations that you have to understand. an unpersisted assoc is one in which the associatee has not been persisted. in this case, an attempt to persist the associator will cascade persist the associatee.

    a persisted assoc is one in which the associatee has already been persisted. it may or may not have already been loaded in to program memory, and calling retrieve or persisted or get may well trigger a database lookup.

  2. type CoreDomain = Subdomain

    Permalink

    a core domain.

    a core domain. functionally equivalent to a Subdomain

  3. trait Entity extends HasEmblem

    Permalink

    a domain entity

  4. abstract class EntityType[E <: Entity] extends AnyRef

    Permalink

    a type class for a domain entity

  5. type EntityTypePool = TypeKeyMap[Entity, EntityType]

    Permalink

    a type key map of Entity to EntityType

    a type key map of Entity to EntityType

    See also

    emblem.TypeKeyMap

  6. type GenericSubdomain = Subdomain

    Permalink

    a generic subdomain.

    a generic subdomain. functionally equivalent to a Subdomain

  7. trait Root extends Entity

    Permalink

    a domain entity that serves as an aggregate root

  8. abstract class RootType[R <: Root] extends EntityType[R]

    Permalink

    a type class for a domain entity that serves as an aggregate root

  9. type RootTypePool = TypeKeyMap[Root, RootType]

    Permalink

    a type key map of Root to RootType

    a type key map of Root to RootType

    See also

    emblem.TypeKeyMap

  10. class Shorthand[Actual, Abbreviated] extends AnyRef

    Permalink

    describes a relation (one-to-one mapping) between two types, Actual and Abbreviated.

    describes a relation (one-to-one mapping) between two types, Actual and Abbreviated. The "actual" type is typically a richer type, such as a case class with a single parameter, and an abbreviated value for the type, such as a string. Provides functions for mapping between the actual and abbreviated types, as well as an emblem.TypeKey for both types.

    Actual

    the actual type

    Abbreviated

    the abbreviated type

  11. type ShorthandFor[Actual] = Shorthand[Actual, _]

    Permalink

    a shorthand with the abbreviated type unspecified.

    a shorthand with the abbreviated type unspecified. this type is equivalent to Shorthand[Actual, _], except with a single type parameter Actual. this allows it to be used as a key or value in a TypeBoundMap or TypeKeyMap.

  12. type ShorthandPool = TypeKeyMap[Any, ShorthandFor]

    Permalink

    an emblem.TypeKeyMap of shorthands, indexed by the Actual type

  13. class Subdomain extends AnyRef

    Permalink

    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 entity types in the subdomain, as well as all the shorthands used by the entities.

  14. type SupportingSubdomain = Subdomain

    Permalink

    a supporting subdomain.

    a supporting subdomain. functionally equivalent to a Subdomain

  15. type ValueObject = Entity

    Permalink

    a value object.

    a value object. functionally equivalent to an Entity

  16. type ValueType[A <: ValueObject] = EntityType[A]

    Permalink

    a value type.

    a value type. functionally equivalent to an EntityType

Value Members

  1. object Assoc

    Permalink
  2. object CoreDomain

    Permalink
  3. object EntityTypePool

    Permalink
  4. object GenericSubdomain

    Permalink
  5. object RootTypePool

    Permalink

    houses methods for constructing root type pools

  6. object Shorthand

    Permalink
  7. object ShorthandPool

    Permalink
  8. object Subdomain

    Permalink
  9. object SupportingSubdomain

    Permalink
  10. package root

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped