DAtype
DAtype is a hypothetical data type used in discussions of programming languages and data modeling to illustrate how a parameterizable value container might behave. In this context, DAtype represents a value alongside its domain and optional constraints, with a uniform interface for construction, inspection, validation, and conversion.
Typically DAtype is parameterizable by a base type, written DAtype<T>, where T denotes the value domain. Instances
Values of DAtype are compared by their contained value (value semantics) unless otherwise specified. DAtype supports
Usage of DAtype can model primitive- or composite-valued fields in schemas, APIs, and databases. It provides
Implementation notes: In a language, DAtype may be implemented as a generic wrapper class or as a