Field
com.reactific.riddl.language.AST.Field
case class Field(loc: At, id: Identifier, typeEx: TypeExpression, brief: Option[LiteralString], description: Option[Description]) extends LeafDefinition, AggregateDefinition, AlwaysEmpty, TypeDefinition, SagaDefinition, StateDefinition, FunctionDefinition, ProjectorDefinition
A definition that is a field of an aggregation type expressions. Fields associate an identifier with a type expression.
Value parameters
- brief
-
A brief description (one sentence) for use in documentation
- description
-
An optional description of the field.
- id
-
The name of the field
- loc
-
The location of the field definition
- typeEx
-
The type of the field
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ProjectorDefinitiontrait FunctionDefinitiontrait StateDefinitiontrait SagaDefinitiontrait AlwaysEmptytrait AggregateDefinitiontrait TypeDefinitiontrait LeafDefinitiontrait Definitiontrait Container[Definition]trait BrieflyDescribedValuetrait DescribedValuetrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- BrieflyDescribedValue
Attributes
- Inherited from:
- LeafDefinition
Attributes
- Inherited from:
- DescribedValue
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- BrieflyDescribedValue
Attributes
- Definition Classes
- Inherited from:
- Definition
Attributes
- Inherited from:
- DescribedValue
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Definition Classes
- Inherited from:
- Definition
determine if this node is empty or not.
determine if this node is empty or not. Non-containers are always empty
Attributes
- Definition Classes
- Inherited from:
- AlwaysEmpty
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Definition
In this article