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.

Note:
Numeric values in a String domain type
 When you use a numeric value (Integer, Double, or Long) in a domain model of type String, TIBCO BusinessEvents adds double quotes around the value. (These are visible after you save and reopen the domain model.)

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.

Note:
Text values in a numeric data type
 When you enter text in a domain model of type Integer, Double or Long, TIBCO BusinessEvents marks it in red color, and indicates you to correct it.

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.