Domain

com.ossuminc.riddl.language.AST.Domain

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.

Value parameters

contents

The definitional content for this Context

id

The name of the domain

loc

The location of the domain definition

Attributes

Source
AST.scala
Graph
Supertypes

Members list

Value members

Concrete methods

override def format: String

Format the node to a string in a form suitable for use in error messages

Format the node to a string in a form suitable for use in error messages

Attributes

Definition Classes
Source
AST.scala

Inherited methods

A lazily constructed Seq of Application filtered from the contents

A lazily constructed Seq of Application filtered from the contents

Attributes

Inherited from:
WithApplications
Source
AST.scala

A lazily constructed mutable Seq of AuthorRef

A lazily constructed mutable Seq of AuthorRef

Attributes

Inherited from:
WithMetaData
Source
AST.scala

A lazily constructed Seq of Author filtered from the contents

A lazily constructed Seq of Author filtered from the contents

Attributes

Inherited from:
WithAuthors
Source
AST.scala

AN optional BriefDescription

AN optional BriefDescription

Attributes

Inherited from:
WithMetaData
Source
AST.scala

A reliable extractor of the brief description, dealing with the optionality and plurality of it

A reliable extractor of the brief description, dealing with the optionality and plurality of it

Attributes

Inherited from:
WithMetaData
Source
AST.scala

A lazily constructed Seq of Comment filtered from the contents

A lazily constructed Seq of Comment filtered from the contents

Attributes

Inherited from:
WithComments
Source
AST.scala

A lazily constructed Seq of Context filtered from the contents

A lazily constructed Seq of Context filtered from the contents

Attributes

Inherited from:
WithContexts
Source
AST.scala

A reliable extractor of the description, dealing with the optionality and plurality of it

A reliable extractor of the description, dealing with the optionality and plurality of it

Attributes

Inherited from:
WithMetaData
Source
AST.scala

A lazily constructed scala.Seq of Description

A lazily constructed scala.Seq of Description

Attributes

Inherited from:
WithMetaData
Source
AST.scala

A lazily constructed Seq of Domain filtered from the contents

A lazily constructed Seq of Domain filtered from the contents

Attributes

Inherited from:
WithDomains
Source
AST.scala
def epics: Seq[Epic]

A lazily constructed Seq of Epic filtered from the contents

A lazily constructed Seq of Epic filtered from the contents

Attributes

Inherited from:
WithEpics
Source
AST.scala

Get the value of name'd option, if there is one.

Get the value of name'd option, if there is one.

Attributes

Inherited from:
WithOptions
Source
AST.scala
override def hasAuthorRefs: Boolean

Determines if this RiddlValue references any Authors or not

Determines if this RiddlValue references any Authors or not

Attributes

Definition Classes
Inherited from:
WithMetaData
Source
AST.scala
override def hasAuthors: Boolean

Determines if this RiddlValuedefines any Authors or not

Determines if this RiddlValuedefines any Authors or not

Attributes

Definition Classes
Inherited from:
WithAuthors
Source
AST.scala
override def hasDefinitions: Boolean

True iff there are contained definitions

True iff there are contained definitions

Attributes

Definition Classes
Inherited from:
Parent
Source
AST.scala
final override def hasIncludes: Boolean

Determines if this RiddlValue has any includes in it

Determines if this RiddlValue has any includes in it

Attributes

Definition Classes
Inherited from:
WithIncludes
Source
AST.scala

True if this value contains an option with the given name.

True if this value contains an option with the given name.

Attributes

Inherited from:
WithOptions
Source
AST.scala
override def hasOptions: Boolean

Determines if this RiddlValue has any options set or not

Determines if this RiddlValue has any options set or not

Attributes

Definition Classes
Inherited from:
WithOptions
Source
AST.scala
override def hasTypes: Boolean

Determines if this RiddlValue contains any type definitions

Determines if this RiddlValue contains any type definitions

Attributes

Definition Classes
Inherited from:
WithTypes
Source
AST.scala

Convert the identifier into a string format with its kind and dealing with anonymity.

Convert the identifier into a string format with its kind and dealing with anonymity.

Attributes

Inherited from:
WithIdentifier
Source
AST.scala

Same as identify but also adds the value's location via loc

Same as identify but also adds the value's location via loc

Attributes

Inherited from:
WithIdentifier
Source
AST.scala

A lazily constructed Seq of Include filtered from the contents

A lazily constructed Seq of Include filtered from the contents

Attributes

Inherited from:
WithIncludes
Source
AST.scala
final inline override def isAnonymous: Boolean

This one has an identifier so it is only anonymous if that identifier is empty

This one has an identifier so it is only anonymous if that identifier is empty

Attributes

Definition Classes
Inherited from:
WithIdentifier
Source
AST.scala

Determines if this RiddlValue is a comment or not

Determines if this RiddlValue is a comment or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala
final inline override def isContainer: Boolean

Force all subclasses to return true as they are containers

Force all subclasses to return true as they are containers

Attributes

Definition Classes
Inherited from:
Container
Source
AST.scala
override def isDefinition: Boolean

Yes anything deriving from here is a definition

Yes anything deriving from here is a definition

Attributes

Definition Classes
Inherited from:
Definition
Source
AST.scala
override def isEmpty: Boolean

Determine if this RiddlValue is empty or not.

Determine if this RiddlValue is empty or not. Non-containers are always empty

Attributes

Definition Classes
Inherited from:
WithOptions
Source
AST.scala
final inline override def isIdentified: Boolean

Whether or not this instance has an id: Identifier field or not

Whether or not this instance has an id: Identifier field or not

Attributes

Definition Classes
Inherited from:
WithIdentifier
Source
AST.scala
override def isParent: Boolean

Attributes

Definition Classes
Inherited from:
Parent
Source
AST.scala

Determines if this RiddlValue is a processor (handles messages) or not

Determines if this RiddlValue is a processor (handles messages) or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determine if this RiddlValue is the top most container, appearing at the root of the AST

Determine if this RiddlValue is the top most container, appearing at the root of the AST

Attributes

Inherited from:
RiddlValue
Source
AST.scala
final override def isVital: Boolean

Determines if this node is a vital node or not

Determines if this node is a vital node or not

Attributes

Definition Classes
Inherited from:
VitalDefinition
Source
AST.scala
def kind: String

Provide a string to specify the kind of thing this value is with default derived from class name

Provide a string to specify the kind of thing this value is with default derived from class name

Attributes

Inherited from:
RiddlValue
Source
AST.scala
final def nonEmpty: Boolean

implements the nonEmpty function based on the isEmpty function

implements the nonEmpty function based on the isEmpty function

Attributes

Inherited from:
RiddlValue
Source
AST.scala

A lazily constructed Seq of OptionValue filtered from the contents

A lazily constructed Seq of OptionValue filtered from the contents

Attributes

Inherited from:
WithOptions
Source
AST.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def sagas: Seq[Saga]

A lazily constructed Seq of Saga filtered from the contents

A lazily constructed Seq of Saga filtered from the contents

Attributes

Inherited from:
WithSagas
Source
AST.scala
def terms: Seq[Term]

A lazily constructed mutable Seq of AuthorRef

A lazily constructed mutable Seq of AuthorRef

Attributes

Inherited from:
WithMetaData
Source
AST.scala
def types: Seq[Type]

A lazily constructed Seq of Type filtered from the contents

A lazily constructed Seq of Type filtered from the contents

Attributes

Inherited from:
WithTypes
Source
AST.scala
def users: Seq[User]

A lazily constructed Seq of User filtered from the contents

A lazily constructed Seq of User filtered from the contents

Attributes

Inherited from:
WithUsers
Source
AST.scala

Inherited fields

lazy val ulid: ULID

Attributes

Inherited from:
WithMetaData
Source
AST.scala