Entity

io.github.srs.model.entity.Entity
See theEntity companion trait
object Entity

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Entity.type

Members list

Value members

Concrete methods

Validates an entity to ensure it meets the domain constraints.

Validates an entity to ensure it meets the domain constraints.

Value parameters

e

the entity to validate.

Attributes

Returns

Right if the entity is valid, or Left with a validation error.