Packages

case class Context(loc: Location, id: Identifier, options: Seq[ContextOption] = Seq.empty[ContextOption], types: Seq[Type] = Seq.empty[Type], entities: Seq[Entity] = Seq.empty[Entity], adaptors: Seq[Adaptor] = Seq.empty[Adaptor], sagas: Seq[Saga] = Seq.empty[Saga], processors: Seq[Processor] = Seq.empty[Processor], functions: Seq[Function] = Seq.empty[Function], terms: Seq[Term] = Seq.empty[Term], includes: Seq[Include] = Seq.empty[Include], handlers: Seq[Handler] = Seq.empty[Handler], brief: Option[LiteralString] = Option.empty[LiteralString], description: Option[Description] = None) extends ParentDefOf[ContextDefinition] with DomainDefinition with OptionsDef[ContextOption] with WithIncludes with WithTerms with Product with Serializable

A bounded context definition. Bounded contexts provide a definitional boundary on the language used to describe some aspect of a system. They imply a tightly integrated ecosystem of one or more microservices that share a common purpose. Context can be used to house entities, read side projections, sagas, adaptations to other contexts, apis, and etc.

loc

The location of the bounded context definition

id

The name of the context

options

The options for the context

types

Types defined for the scope of this context

entities

Entities defined for the scope of this context

adaptors

Adaptors to messages from other contexts

sagas

Sagas with all-or-none semantics across various entities

functions

Features specified for the context

brief

A brief description (one sentence) for use in documentation

description

An optional description of the context

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Context
  2. Serializable
  3. Product
  4. Equals
  5. WithTerms
  6. WithIncludes
  7. OptionsDef
  8. DomainDefinition
  9. ParentDefOf
  10. Container
  11. Definition
  12. BrieflyDescribedValue
  13. DescribedValue
  14. RiddlValue
  15. RiddlNode
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Context(loc: Location, id: Identifier, options: Seq[ContextOption] = Seq.empty[ContextOption], types: Seq[Type] = Seq.empty[Type], entities: Seq[Entity] = Seq.empty[Entity], adaptors: Seq[Adaptor] = Seq.empty[Adaptor], sagas: Seq[Saga] = Seq.empty[Saga], processors: Seq[Processor] = Seq.empty[Processor], functions: Seq[Function] = Seq.empty[Function], terms: Seq[Term] = Seq.empty[Term], includes: Seq[Include] = Seq.empty[Include], handlers: Seq[Handler] = Seq.empty[Handler], brief: Option[LiteralString] = Option.empty[LiteralString], description: Option[Description] = None)

    loc

    The location of the bounded context definition

    id

    The name of the context

    options

    The options for the context

    types

    Types defined for the scope of this context

    entities

    Entities defined for the scope of this context

    adaptors

    Adaptors to messages from other contexts

    sagas

    Sagas with all-or-none semantics across various entities

    functions

    Features specified for the context

    brief

    A brief description (one sentence) for use in documentation

    description

    An optional description of the context

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val adaptors: Seq[Adaptor]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val brief: Option[LiteralString]
    Definition Classes
    ContextBrieflyDescribedValue
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. lazy val contents: Seq[ContextDefinition]
    Definition Classes
    ContextContainer
  9. val description: Option[Description]
    Definition Classes
    ContextDescribedValue
  10. val entities: Seq[Entity]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def format: String
    Definition Classes
    OptionsDefRiddlNode
  13. val functions: Seq[Function]
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. val handlers: Seq[Handler]
  16. def hasOption[OPT <: ContextOption](implicit arg0: ClassTag[OPT]): Boolean
    Definition Classes
    OptionsDef
  17. val id: Identifier
    Definition Classes
    ContextDefinition
  18. def identify: String
    Definition Classes
    Definition
  19. def identifyWithLoc: String
    Definition Classes
    Definition
  20. val includes: Seq[Include]
    Definition Classes
    ContextWithIncludes
  21. def isContainer: Boolean
    Definition Classes
    ContainerRiddlValue
  22. def isEmpty: Boolean
    Definition Classes
    ContextOptionsDefContainerRiddlNode
  23. def isImplicit: Boolean
    Definition Classes
    Definition
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def isRootContainer: Boolean
    Definition Classes
    Container
  26. def kind: String
    Definition Classes
    Definition
  27. def kindId: String
    Definition Classes
    Definition
  28. val loc: Location
    Definition Classes
    ContextRiddlValue
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def nonEmpty: Boolean
    Definition Classes
    RiddlNode
    Annotations
    @deprecatedOverriding()
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  33. val options: Seq[ContextOption]
    Definition Classes
    ContextOptionsDef
  34. val processors: Seq[Processor]
  35. def productElementNames: Iterator[String]
    Definition Classes
    Product
  36. val sagas: Seq[Saga]
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. val terms: Seq[Term]
    Definition Classes
    ContextWithTerms
  39. val types: Seq[Type]
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from WithTerms

Inherited from WithIncludes

Inherited from OptionsDef[ContextOption]

Inherited from DomainDefinition

Inherited from Definition

Inherited from BrieflyDescribedValue

Inherited from DescribedValue

Inherited from RiddlValue

Inherited from RiddlNode

Inherited from AnyRef

Inherited from Any

Ungrouped