|
Provide basic building blocks to construct new, more complex user types
in the form of Software Entities stored in entity files.
A <basic-type> can be specified in one of two ways:
- <plain-basic-type>
- <imported-type>
An <imported-type> is defined as follows:
<entity-reference>.<field-identifier>
A <plain-basic-type> is one of the type identifiers
defined in the following table.
Table 1 - Basic types in Sisendel
|
Type id
|
Description
|
Notes
|
|
bool
|
Boolean value
|
-
|
|
enum
|
Enumerated value
|
Enumeration values must be defined in section DEFS
|
|
float
|
Floating point number
|
Lower and upper bound of validity range may optionally be defined in section DEFS
|
|
function
|
Computational object
|
Function parameters and return value(s) must be defined in section DEFS
|
|
int8
|
Signed 8-bit integer number
|
-
|
|
int16
|
Signed 16-bit integer number
|
-
|
|
int32
|
Signed 32-bit integer number
|
-
|
|
int64
|
Signed 64-bit integer number
|
-
|
|
range
|
Range of integer values
|
Lower and upper bound of range must be defined in section DEFS
|
|
string
|
String of characters
|
Length of string must be specified, may be dynamic
|
|
thing
|
Generic object
|
Can be used as a placeholder for complex or multimedia objects, such as documents, sound files, and videoclips (or smell, taste and tactile files in the future).
|
|
time
|
Time value
|
-
|
|
uint8
|
Unsigned 8-bit integer number
|
-
|
|
uint16
|
Unsigned 16-bit integer number
|
-
|
|
uint32
|
Unsigned 32-bit integer number
|
-
|
|
uint64
|
Unsigned 64-bit integer number
|
-
|
|
unique_id
|
Unique identifier
|
-
|
Fields whose type is an <imported-type> allow to centralize
and share common field type definitions across two or more
Software Entities.
The field identifier of the <imported-type>
is the <field-identifier> of a field defined
by the entity referred to by the <entity-reference>.
An <optional-cardinality> may be specified for fields
of any basic type, except for fields of type function.
[Previous chapter]
[Next chapter]
[Back to top]
|