Function
com.reactific.riddl.language.ast.Definitions.Function
case class Function(loc: At, id: Identifier, input: Option[Aggregation], output: Option[Aggregation], types: Seq[Type], functions: Seq[Function], statements: Seq[Statement], authors: Seq[AuthorRef], includes: Seq[Include[FunctionDefinition]], options: Seq[FunctionOption], terms: Seq[Term], brief: Option[LiteralString], description: Option[Description]) extends VitalDefinition[FunctionOption, FunctionDefinition], WithTypes, AdaptorDefinition, ApplicationDefinition, ContextDefinition, EntityDefinition, FunctionDefinition, ProjectorDefinition, RepositoryDefinition, SagaDefinition, StreamletDefinition
A function definition which can be part of a bounded context or an entity.
Value parameters
- brief
-
A brief description (one sentence) for use in documentation
- description
-
An optional description of the function.
- examples
-
The set of examples that define the behavior of the function.
- id
-
The identifier that names the function
- input
-
An optional type expression that names and types the fields of the input of the function
- loc
-
The location of the function definition
- output
-
An optional type expression that names and types the fields of the output of the function
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StreamletDefinitiontrait SagaDefinitiontrait RepositoryDefinitiontrait ProjectorDefinitiontrait FunctionDefinitiontrait EntityDefinitiontrait ContextDefinitiontrait ApplicationDefinitiontrait AdaptorDefinitiontrait WithTypestrait WithTermstrait WithIncludes[FunctionDefinition]trait WithAuthorstrait WithOptions[FunctionOption]trait Definitiontrait Container[FunctionDefinition]trait BrieflyDescribedValuetrait DescribedValuetrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass Any
Members list
In this article