Open topic with navigation

TIBCO Business Studio™ - BPM Edition 5.4.0

# Primitive Types

A Primitive Type is a data type. By defining a Primitive Type, you can define your own data types and then specify how data of that type is interpreted.

You can specify what values the data can have or any constraints on the data, for example. You can refine your data to your specific business domain. You can create a Primitive Type called Patient ID and specify that Patient IDs should always be a maximum of 7 characters long, and consist of 2 letters followed by 5 numbers, for example. See Setting Restrictions on Primitive Types and Attributes on page 10 for more information on the restrictions you can set.

All the Primitive Types that you define must be based on the following standard business object model Primitive Types that are available in the business object model Editor. Some types have subtypes. The types are described in the following table.

Primitive Type | Description
--- | ---
Boolean | A value of True or False.
Date | A date in the format dd/mm/yy.
Date Time and Timezone | A date (in the format dd/mm/yy hh:mm) and time zone.
Number | Any whole number, positive or negative.
Text | Any characters can be entered up to the length you specify.
Time | A time in the format hh:mm (24-hour clock).
URI | A Uniform Resource Identifier.

For information on constraints on field or parameter values, see Value Spaces for BOM Native Types

When you create a Primitive Type, it defaults to Text. The type is displayed above the name of the Primitive Type in italics as shown below.

You can change the standard type on which the Primitive Type is based by clicking on the button in the Superclass field, on the General tab in the Properties View. Additional information required by the Primitive Type is specified on the Advanced tab; see To Set Restrictions on Primitive Types and Attributes.

Subtopics

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Business Studio™ - BPM Edition

Copyright © 2015-2023. Cloud Software Group, Inc. All Rights Reserved.