๐๏ธ What is a domain?
A domain is a pool of values from which users can choose when providing values for a type of attribute. A type of attribute may be stored in multiple columns. These columns are said to be based on the domain.
๐๏ธ Template domains: Popular domain settings
A template domain is a popular collection of domain settings provided by USoft. A template domain is usually appropriate for a typical base data type often found in USoft applications, such as "Short textโ or โBooleanโ.
๐๏ธ Data types
In USoft, Data type is one of the most important domain attributes. This attribute specifies what kind of data the domain has values for:
๐๏ธ Display types
Each domain has a display type. A display type specifies how columns based on that domain are represented in the interface (for example as an ordinary input field, as a checkbox, or as a set of option buttons).
๐๏ธ Check Box display type
A check box is a control for showing data that represent a choice between 2 options.
๐๏ธ Dropdown List Box display type
A dropdown list box is a control that contains a list of objects or options from which the end-user can select one.
๐๏ธ Option Buttons display type
The Option buttons display type produces a group of 2-3 individually labelled buttons, for example:
๐๏ธ Patterns (Regular Expressions)
You can use a regular expression (regex) pattern to define the subset of values that is acceptable for a domain.
๐๏ธ Unique values
You can specify that a domain must generate unique values. You can only have generated unique values for primary key columns.
๐๏ธ Allowed values
When defining a domain, you can restrict the values allowed in the columns based on the domain:
๐๏ธ IO formats
IO formats, or format masks, allow you to specify how values of a domain must be presented in the screen, and in what format users are allowed to enter new values.
๐๏ธ Alternative input formats
In an application that accepts and displays certain date values as (for example) DD-MON-YYYY (e.g., 01-JAN-2008), it is possible to specify that end users can input values not only in that standard IO format but also in one or more alternative input formats, also called alternative IO formats, e.g. DD-MM-YYYY (01-01-2008).
๐๏ธ Default date format
The DEFAULTDATEFORMAT Rules Engine parameter specifies the default IO format to be used when converting a date into a string. The default value is DD-MON-YY.
๐๏ธ Superdomains: Inheritance of domain properties
When you define a domain, you can optionally indicate that the domain has a superdomain. If a domain has a superdomain, domain attributes are inherited from that superdomain following certain rules. This section describes how a subdomain inherits attributes from its superdomain.