Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 8 Using Expressions and Operators : Semantic Data Types

Semantic Data Types
Each data element of an expression has a semantic data type. The semantic data type describes how the expression element can be used. The semantic data type of a field is defined in the table definition and determines what operations and conversions can be performed on values of the field. Operators in the rules language are defined only for meaningful semantic data types. For example, negating a string or adding a number to an identifier are invalid operations (for example, adding 3 to a license plate number).
Valid Semantic Data Types
The following table describes the semantic data types, the valid syntax for each data type, and the operations that can be performed on each data type:
Semantic Data Type
Possible Operators
Valid Syntax
Literals defined in TIBCO Object Service Broker rules and fields defined without a semantic data type.
B, C, F, P, RD, UN, V, W
Example: An inventory count (zero items or more items; there is never half an item).
Used for dates; you must include at least a year. Valid dates range from 0000/01/01 to 9999/12/31 inclusive.
Arithmetic (addition and subtraction)
B, C, F, P, UN, V
C, RD, UN, V, W
See Also
TIBCO Object Service Broker Managing Data about defining TIBCO Object Service Broker tables.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved