Overview

The DataTypes package contains fundamental data types. Note that further data types that are specific to engineering information in P&IDs are provided by the Enumerations and PhysicalQuantities packages. Finally, the Graphics package contains data types required for P&ID graphics.

Simple Data Types

Simple data types such as Double correspond to conventional data types in programming languages or data formats.

There are 3 simple data types:

Nullable Data Types

Nullable data types are similar to simple data types, but they provide an additional null value. A nullable data type such as NullableString is always abstract. It has two concrete sub types: a type for actual values (e.g., String), and a type for the null value (e.g., NullString). The latter is a singleton type, i.e., there is only one instance of this type (e.g., NULL_STRING).

There are 4 nullable data types:

Complex Data Types

Complex data types are aggregations of other data types.

There are 2 complex data types: