Container

com.ossuminc.riddl.language.AST.Container
sealed trait Container[CV <: ContentValues] extends RiddlValue

Base trait of any RiddlValue that Contains other RiddlValue

Type parameters

CV

The kind of contained value that is contained within.

Attributes

Source
AST.scala
Graph
Supertypes
trait RiddlValue
class Object
trait Matchable
class Any
Known subtypes
class Aggregation
trait BranchDefinition[CV]
class Group
class Handler
class Input
class Nebula
trait OnClause
class Output
class Root
class Type
class UseCase
trait VitalDefinition[CT]
class Domain
class Epic
class Function
class Module
trait Processor[CT]
class Adaptor
class Application
class Context
class Entity
class Projector
class Repository
class Streamlet
class Saga
class Include[CT]
trait Parent
class SimpleContainer[CV]
trait WithAdaptors[CV]
trait WithApplications[CV]
trait WithAuthors[CV]
trait WithComments[CV]
trait WithConnectors[CV]
trait WithConstants[CV]
trait WithContexts[CV]
trait WithDomains[CV]
trait WithEntities[CV]
trait WithEpics[CV]
trait WithFunctions[CV]
trait WithGroups[CV]
trait WithHandlers[CV]
trait WithIncludes[CV]
trait WithInlets[CV]
trait WithInputs[CV]
trait WithInvariants[CV]
trait WithModules[CV]
trait WithOptions[CV]
trait WithOutlets[CV]
trait WithOutputs[CV]
trait WithProjectors[CV]
trait WithRepositories[CV]
trait WithSagaSteps[CV]
trait WithSagas[CV]
trait WithShownBy[CV]
trait WithStatements[CV]
trait WithStates[CV]
trait WithStreamlets[CV]
trait WithTypes[CV]
trait WithUseCases[CV]
trait WithUsers[CV]
Show all

Members list

Value members

Abstract methods

The definitional contents of this Container value.

The definitional contents of this Container value. The contents are constrained by the type parameter CV so subclasses must honor that constraint.

Attributes

Source
AST.scala

Concrete methods

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
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
Source
AST.scala

Inherited methods

Determines if this RiddlValue references any Authors or not

Determines if this RiddlValue references any Authors or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determines if this RiddlValuedefines any Authors or not

Determines if this RiddlValuedefines any Authors or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determine if this RiddlValue has definitions it contains

Determine if this RiddlValue has definitions it contains

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determines if this RiddlValue has any includes in it

Determines if this RiddlValue has any includes in it

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determines if this RiddlValue has any options set or not

Determines if this RiddlValue has any options set or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determines if this RiddlValue contains any type definitions

Determines if this RiddlValue contains any type definitions

Attributes

Inherited from:
RiddlValue
Source
AST.scala

True only if this value does not have a name or has an empty name

True only if this value does not have a name or has an empty name

Attributes

Inherited from:
RiddlValue
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

Determine if this RiddlValue is a definition or not

Determine if this RiddlValue is a definition or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala

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

Inherited from:
RiddlValue
Source
AST.scala

Attributes

Inherited from:
RiddlValue
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

Determines if this node is a vital node or not

Determines if this node is a vital node or not

Attributes

Inherited from:
RiddlValue
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

Inherited and Abstract methods

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

Inherited from:
RiddlValue
Source
AST.scala
def loc: At

The location in the parse at which this RiddlValue occurs

The location in the parse at which this RiddlValue occurs

Attributes

Inherited from:
RiddlValue
Source
AST.scala