Packages

case class Context(loc: Location, id: AST.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], projections: Seq[Projection] = Seq.empty[Projection], authors: Seq[AuthorInfo] = Seq.empty[AuthorInfo], brief: Option[AST.LiteralString] = Option.empty[LiteralString], description: Option[AST.Description] = None) extends DomainDefinition with TypeContainer with WithTypes with WithOptions[ContextOption] with WithIncludes with WithTerms with WithAuthors 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. WithAuthors
  6. WithTerms
  7. WithIncludes
  8. WithOptions
  9. WithTypes
  10. TypeContainer
  11. DomainDefinition
  12. Definition
  13. Container
  14. BrieflyDescribedValue
  15. DescribedValue
  16. RiddlValue
  17. RiddlNode
  18. AnyRef
  19. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Context(loc: Location, id: AST.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], projections: Seq[Projection] = Seq.empty[Projection], authors: Seq[AuthorInfo] = Seq.empty[AuthorInfo], brief: Option[AST.LiteralString] = Option.empty[LiteralString], description: Option[AST.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 authors: Seq[AuthorInfo]
    Definition Classes
    ContextWithAuthors
  7. val brief: Option[AST.LiteralString]
    Definition Classes
    ContextBrieflyDescribedValue
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  9. def collectMessages: Seq[Type]
    Definition Classes
    TypeContainer
  10. def containedDefinitions: Seq[AST.Definition]
    Definition Classes
    WithIncludes
  11. lazy val contents: Seq[AST.ContextDefinition]
    Definition Classes
    ContextContainer
  12. val description: Option[AST.Description]
    Definition Classes
    ContextDescribedValue
  13. val entities: Seq[Entity]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def format: String

    Format the node to a string

    Format the node to a string

    Definition Classes
    WithOptionsRiddlNode
  16. val functions: Seq[Function]
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  18. def getOptionValue[OPT <: ContextOption](implicit arg0: ClassTag[OPT]): Option[Seq[AST.LiteralString]]
    Definition Classes
    WithOptions
  19. val handlers: Seq[Handler]
  20. def hasAuthors: Boolean
    Definition Classes
    WithAuthorsDefinition
  21. def hasOption[OPT <: ContextOption](implicit arg0: ClassTag[OPT]): Boolean
    Definition Classes
    WithOptions
  22. def hasOptions: Boolean
    Definition Classes
    WithOptionsDefinition
  23. def hasTypes: Boolean
    Definition Classes
    WithTypesDefinition
  24. val id: AST.Identifier
    Definition Classes
    ContextDefinition
  25. def identify: String
    Definition Classes
    Definition
  26. def identifyWithLoc: String
    Definition Classes
    Definition
  27. val includes: Seq[Include]
    Definition Classes
    ContextWithIncludes
  28. def isContainer: Boolean

    Determine if this node is a container or not

    Determine if this node is a container or not

    Definition Classes
    ContainerRiddlNode
  29. def isEmpty: Boolean

    determine if this node is empty or not.

    determine if this node is empty or not. Non-containers are always empty

    Definition Classes
    ContextWithOptionsContainerRiddlNode
  30. def isImplicit: Boolean
    Definition Classes
    Definition
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. def isRootContainer: Boolean
    Definition Classes
    Container
  33. final val kind: String
    Definition Classes
    ContextDefinition
  34. def kindId: String
    Definition Classes
    Definition
  35. val loc: Location

    The location in the parse at which this RiddlValue occurs

    The location in the parse at which this RiddlValue occurs

    Definition Classes
    ContextRiddlValue
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def nonEmpty: Boolean
    Definition Classes
    RiddlNode
    Annotations
    @deprecatedOverriding()
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  40. val options: Seq[ContextOption]
    Definition Classes
    ContextWithOptions
  41. val processors: Seq[Processor]
  42. def productElementNames: Iterator[String]
    Definition Classes
    Product
  43. val projections: Seq[Projection]
  44. val sagas: Seq[Saga]
  45. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  46. val terms: Seq[Term]
    Definition Classes
    ContextWithTerms
  47. val types: Seq[Type]
    Definition Classes
    ContextWithTypesTypeContainer
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  50. 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 WithAuthors

Inherited from WithTerms

Inherited from WithIncludes

Inherited from WithTypes

Inherited from TypeContainer

Inherited from AST.DomainDefinition

Inherited from AST.Definition

Inherited from AST.DescribedValue

Inherited from AST.RiddlValue

Inherited from AST.RiddlNode

Inherited from AnyRef

Inherited from Any

Ungrouped