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
- Alphabetic
- By Inheritance
- Context
- Serializable
- Product
- Equals
- WithTerms
- WithIncludes
- OptionsDef
- DomainDefinition
- ParentDefOf
- Container
- Definition
- BrieflyDescribedValue
- DescribedValue
- RiddlValue
- RiddlNode
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val adaptors: Seq[Adaptor]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val brief: Option[LiteralString]
- Definition Classes
- Context → BrieflyDescribedValue
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- lazy val contents: Seq[ContextDefinition]
- val description: Option[Description]
- Definition Classes
- Context → DescribedValue
- val entities: Seq[Entity]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def format: String
- Definition Classes
- OptionsDef → RiddlNode
- val functions: Seq[Function]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val handlers: Seq[Handler]
- def hasOption[OPT <: ContextOption](implicit arg0: ClassTag[OPT]): Boolean
- Definition Classes
- OptionsDef
- val id: Identifier
- Definition Classes
- Context → Definition
- def identify: String
- Definition Classes
- Definition
- def identifyWithLoc: String
- Definition Classes
- Definition
- val includes: Seq[Include]
- Definition Classes
- Context → WithIncludes
- def isContainer: Boolean
- Definition Classes
- Container → RiddlValue
- def isEmpty: Boolean
- Definition Classes
- Context → OptionsDef → Container → RiddlNode
- def isImplicit: Boolean
- Definition Classes
- Definition
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isRootContainer: Boolean
- Definition Classes
- Container
- def kind: String
- Definition Classes
- Definition
- def kindId: String
- Definition Classes
- Definition
- val loc: Location
- Definition Classes
- Context → RiddlValue
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonEmpty: Boolean
- Definition Classes
- RiddlNode
- Annotations
- @deprecatedOverriding()
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val options: Seq[ContextOption]
- Definition Classes
- Context → OptionsDef
- val processors: Seq[Processor]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val sagas: Seq[Saga]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val terms: Seq[Term]
- val types: Seq[Type]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated