case class Adaptor(loc: Location, id: AST.Identifier, ref: ContextRef, adaptations: Seq[Adaptation] = Seq.empty[Adaptation], includes: Seq[Include] = Seq.empty[Include], brief: Option[AST.LiteralString] = Option.empty[LiteralString], description: Option[AST.Description] = None) extends ContextDefinition with WithIncludes with Product with Serializable
Definition of an Adaptor. Adaptors are defined in Contexts to convert messages from another bounded context. Adaptors translate incoming messages into corresponding messages using the ubiquitous language of the defining bounded context. There should be one Adapter for each external Context
- loc
Location in the parsing input
- id
Name of the adaptor
- ref
A reference to the bounded context from which messages are adapted
- adaptations
A set of AdaptorDefinitions that indicate what to do when messages occur.
- brief
A brief description (one sentence) for use in documentation
- description
Optional description of the adaptor.
- Alphabetic
- By Inheritance
- Adaptor
- Serializable
- Product
- Equals
- WithIncludes
- ContextDefinition
- Definition
- Container
- BrieflyDescribedValue
- DescribedValue
- RiddlValue
- RiddlNode
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Adaptor(loc: Location, id: AST.Identifier, ref: ContextRef, adaptations: Seq[Adaptation] = Seq.empty[Adaptation], includes: Seq[Include] = Seq.empty[Include], brief: Option[AST.LiteralString] = Option.empty[LiteralString], description: Option[AST.Description] = None)
- loc
Location in the parsing input
- id
Name of the adaptor
- ref
A reference to the bounded context from which messages are adapted
- adaptations
A set of AdaptorDefinitions that indicate what to do when messages occur.
- brief
A brief description (one sentence) for use in documentation
- description
Optional description of the adaptor.
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 adaptations: Seq[Adaptation]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val brief: Option[AST.LiteralString]
- Definition Classes
- Adaptor → BrieflyDescribedValue
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def containedDefinitions: Seq[AST.Definition]
- Definition Classes
- WithIncludes
- lazy val contents: Seq[AST.AdaptorDefinition]
- val description: Option[AST.Description]
- Definition Classes
- Adaptor → DescribedValue
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def format: String
Format the node to a string
Format the node to a string
- Definition Classes
- RiddlNode
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hasAuthors: Boolean
- Definition Classes
- Definition
- def hasOptions: Boolean
- Definition Classes
- Definition
- def hasTypes: Boolean
- Definition Classes
- Definition
- val id: AST.Identifier
- Definition Classes
- Adaptor → Definition
- def identify: String
- Definition Classes
- Definition
- def identifyWithLoc: String
- Definition Classes
- Definition
- val includes: Seq[Include]
- Definition Classes
- Adaptor → WithIncludes
- def isContainer: Boolean
Determine if this node is a container or not
- def isEmpty: Boolean
determine if this node is empty or not.
- def isImplicit: Boolean
- Definition Classes
- Definition
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isRootContainer: Boolean
- Definition Classes
- Container
- final val kind: String
- Definition Classes
- Adaptor → Definition
- def kindId: String
- Definition Classes
- Definition
- 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
- Adaptor → RiddlValue
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val ref: ContextRef
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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