Adding Domain Entries
When you add a domain model, first select its data type. The Domain Model editor then displays an appropriate user interface for defining domain model entries of that data type.
The Domain Entries section is the same for all types. The Details section changes depending on what data type you select for the domain model.
Supported Data Types
Domain Models support the following data types:
- String
- Integer
- Long
- Double
- Boolean
- DateTime
Sections below show the user interface for each type.
String
String entries are simple text strings.
Integer, Double, Long
In a single domain model, you can enter single values, range values, or a mixture of both. Acceptable values for integer, long, and double domain entries are the same as for the equivalent Java data types.
The user interface is similar for all numeric data types.
You define whether each end of the range is inclusive. For complete coverage, ensure that there is no gap and no overlap between ranges through consistent use of the included check box.
Boolean
Boolean entry values are always
true
or
false
. The description can give the meaning of the pair of choices, such as male or female, supported or unsupported, eligible or ineligible and so on.
DateTime
In a single domain model, you can enter single values, range values, or a mixture of both. Using a date and time picker, you can specify a date and time.
If you do not want to specify a time of day, set the time to midnight (12:00 AM) for the start date, and to a minute before midnight (11:59:59 PM) for the end date of an inclusive range, or for a single date.
The calendar shows a 12-hour clock. PM numbers are converted to a 24-hour clock format in the value table.