Constant
com.reactific.riddl.language.AST.Constant
case class Constant(loc: At, id: Identifier, typeEx: TypeExpression, value: LiteralString, brief: Option[LiteralString], description: Option[Description]) extends LeafDefinition, ProcessorDefinition, DomainDefinition
A definition that represents a constant value for reference in behaviors
Value parameters
- brief
-
A brief descriptin of the constant
- description
-
A detailed description of the constant
- id
-
The unique identifier of the Constant
- loc
-
The location in the source of the Constant
- typeEx
-
The type expression goverining the range of values the constant can have
- value
-
The value of the constant
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait DomainDefinitiontrait ProcessorDefinitiontrait SagaDefinitiontrait StreamletDefinitiontrait RepositoryDefinitiontrait ProjectorDefinitiontrait EntityDefinitiontrait ContextDefinitiontrait ApplicationDefinitiontrait AdaptorDefinitiontrait 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:
- LeafDefinition
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