Entity
com.reactific.riddl.language.AST.Entity
case class Entity(loc: At, id: Identifier, options: Seq[EntityOption], states: Seq[State], types: Seq[Type], constants: Seq[Constant], handlers: Seq[Handler], functions: Seq[Function], invariants: Seq[Invariant], inlets: Seq[Inlet], outlets: Seq[Outlet], includes: Seq[Include[EntityDefinition]], authors: Seq[AuthorRef], terms: Seq[Term], brief: Option[LiteralString], description: Option[Description]) extends Processor[EntityOption, EntityDefinition], ContextDefinition
Definition of an Entity
Value parameters
- brief
-
A brief description (one sentence) for use in documentation
- description
-
Optional description of the entity
- functions
-
Utility functions defined for the entity
- handlers
-
A set of event handlers
- id
-
The name of the entity
- invariants
-
Invariant properties of the entity
- loc
-
The location in the input
- options
-
The options for the entity
- states
-
The state values of the entity
- types
-
Type definitions useful internally to the entity definition
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ContextDefinitiontrait WithTypestrait WithTermstrait WithIncludes[EntityDefinition]trait WithAuthorstrait WithOptions[EntityOption]trait Definitiontrait Container[EntityDefinition]trait BrieflyDescribedValuetrait DescribedValuetrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
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 methods
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- BrieflyDescribedValue
Attributes
- Inherited from:
- DescribedValue
Format the node to a string
Attributes
- Inherited from:
- WithOptions
Attributes
- Definition Classes
- Inherited from:
- WithAuthors
Attributes
- Inherited from:
- BrieflyDescribedValue
Attributes
- Definition Classes
- Inherited from:
- Definition
Attributes
- Inherited from:
- DescribedValue
Attributes
- Inherited from:
- WithOptions
Attributes
- Definition Classes
- Inherited from:
- WithOptions
Attributes
- Definition Classes
- Inherited from:
- WithTypes
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Definition Classes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Container
Attributes
- Definition Classes
- Inherited from:
- VitalDefinition
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Definition
Implicits
Inherited implicits
Implicit conversion of boolean to Int for easier computation of statistics below
Implicit conversion of boolean to Int for easier computation of statistics below
Value parameters
- b
-
The boolean to convert to an Int
Attributes
- Returns
- Inherited from:
- VitalDefinition
In this article