Packages

case class Domain(loc: Location, id: AST.Identifier, options: Seq[DomainOption] = Seq.empty[DomainOption], authors: Seq[AuthorInfo] = Seq.empty[AuthorInfo], types: Seq[Type] = Seq.empty[Type], contexts: Seq[Context] = Seq.empty[Context], plants: Seq[Plant] = Seq.empty[Plant], stories: Seq[Story] = Seq.empty[Story], domains: Seq[Domain] = Seq.empty[Domain], terms: Seq[Term] = Seq.empty[Term], includes: Seq[Include] = Seq.empty[Include], brief: Option[AST.LiteralString] = Option.empty[LiteralString], description: Option[AST.Description] = None) extends TypeContainer with WithOptions[DomainOption] with DomainDefinition with WithIncludes with WithTypes with WithTerms with WithAuthors with Product with Serializable

The definition of a domain. Domains are the highest building block in RIDDL and may be nested inside each other to form a hierarchy of domains. Generally, domains follow hierarchical organization structure but other taxonomies and ontologies may be modelled with domains too.

loc

The location of the domain definition

id

The name of the domain

types

The types defined in the scope of the domain

contexts

The contexts defined in the scope of the domain

plants

The plants defined in the scope of the domain

domains

Nested sub-domains within this domain

terms

Definition of terms pertaining to this domain that provide explanation of concepts from the domain.

brief

A brief description (one sentence) for use in documentation

description

An optional description of the domain.

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

Instance Constructors

  1. new Domain(loc: Location, id: AST.Identifier, options: Seq[DomainOption] = Seq.empty[DomainOption], authors: Seq[AuthorInfo] = Seq.empty[AuthorInfo], types: Seq[Type] = Seq.empty[Type], contexts: Seq[Context] = Seq.empty[Context], plants: Seq[Plant] = Seq.empty[Plant], stories: Seq[Story] = Seq.empty[Story], domains: Seq[Domain] = Seq.empty[Domain], terms: Seq[Term] = Seq.empty[Term], includes: Seq[Include] = Seq.empty[Include], brief: Option[AST.LiteralString] = Option.empty[LiteralString], description: Option[AST.Description] = None)

    loc

    The location of the domain definition

    id

    The name of the domain

    types

    The types defined in the scope of the domain

    contexts

    The contexts defined in the scope of the domain

    plants

    The plants defined in the scope of the domain

    domains

    Nested sub-domains within this domain

    terms

    Definition of terms pertaining to this domain that provide explanation of concepts from the domain.

    brief

    A brief description (one sentence) for use in documentation

    description

    An optional description of the domain.

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val authors: Seq[AuthorInfo]
    Definition Classes
    DomainWithAuthors
  6. val brief: Option[AST.LiteralString]
    Definition Classes
    DomainBrieflyDescribedValue
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. def collectMessages: Seq[Type]
    Definition Classes
    TypeContainer
  9. def containedDefinitions: Seq[AST.Definition]
    Definition Classes
    WithIncludes
  10. def contents: Seq[AST.DomainDefinition]
    Definition Classes
    DomainContainer
  11. val contexts: Seq[Context]
  12. val description: Option[AST.Description]
    Definition Classes
    DomainDescribedValue
  13. val domains: Seq[Domain]
  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. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  17. def getOptionValue[OPT <: DomainOption](implicit arg0: ClassTag[OPT]): Option[Seq[AST.LiteralString]]
    Definition Classes
    WithOptions
  18. def hasAuthors: Boolean
    Definition Classes
    WithAuthorsDefinition
  19. def hasOption[OPT <: DomainOption](implicit arg0: ClassTag[OPT]): Boolean
    Definition Classes
    WithOptions
  20. def hasOptions: Boolean
    Definition Classes
    WithOptionsDefinition
  21. def hasTypes: Boolean
    Definition Classes
    WithTypesDefinition
  22. val id: AST.Identifier
    Definition Classes
    DomainDefinition
  23. def identify: String
    Definition Classes
    Definition
  24. def identifyWithLoc: String
    Definition Classes
    Definition
  25. val includes: Seq[Include]
    Definition Classes
    DomainWithIncludes
  26. def isContainer: Boolean

    Determine if this node is a container or not

    Determine if this node is a container or not

    Definition Classes
    ContainerRiddlNode
  27. 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
    WithOptionsContainerRiddlNode
  28. def isImplicit: Boolean
    Definition Classes
    Definition
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. def isRootContainer: Boolean
    Definition Classes
    Container
  31. final val kind: String
    Definition Classes
    DomainDefinition
  32. def kindId: String
    Definition Classes
    Definition
  33. 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
    DomainRiddlValue
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def nonEmpty: Boolean
    Definition Classes
    RiddlNode
    Annotations
    @deprecatedOverriding()
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  38. val options: Seq[DomainOption]
    Definition Classes
    DomainWithOptions
  39. val plants: Seq[Plant]
  40. def productElementNames: Iterator[String]
    Definition Classes
    Product
  41. val stories: Seq[Story]
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. val terms: Seq[Term]
    Definition Classes
    DomainWithTerms
  44. val types: Seq[Type]
    Definition Classes
    DomainWithTypesTypeContainer
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  47. 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 WithTypes

Inherited from WithIncludes

Inherited from AST.DomainDefinition

Inherited from AST.Definition

Inherited from AST.DescribedValue

Inherited from AST.RiddlValue

Inherited from AST.RiddlNode

Inherited from TypeContainer

Inherited from AnyRef

Inherited from Any

Ungrouped