Importing Domain Model Information for a Database Concept

Domain models make data entry more reliable. They are used in decision tables, available in TIBCO BusinessEvents Decision Manager.

See TIBCO BusinessEvents Developer’s Guide for details.

You can create a domain model by importing values from the database column that corresponds to a database concept property. This feature has been tested with Oracle Database.

You can also import domain model information from a Microsoft Excel spreadsheet or from a database. Oracle Database is supported. You can also manually enter domain model information.

After you create the domain model, you associate it with the property you want to use it with. To do this you can right click an entity property in TIBCO BusinessEvents Studio Explorer and select Associate Domains. Alternatively you can display the entity properties in the entity editor, and in the Domain field of a property, browse to the domain model you want to use.

Procedure

  1. In TIBCO BusinessEvents Studio Explorer, do one of the following:
    • Right-click the folder where you want to create the domain model and select Import > TIBCO BusinessEvents > Domain Model.
    • In TIBCO BusinessEvents Studio Explorer, select any item in the project entity and select File > Import > TIBCO BusinessEvents > Domain Model.
  2. Click Next.

    If you invoked the import wizard by right-clicking a folder, that folder is selected as the parent folder. You can choose a different one as desired.

    You see the Import Domain Model Wizard.
  3. In the Domain Import Source field, select DBCONCEPT.
  4. In the File Name field, enter a name for the domain model resource. Optionally enter a description.
  5. In the Data Type field, select the appropriate data type for the domain model and click Next.
    You see the next wizard page.
  6. In the Select DB Concept to Use field, browse and select a database concept.
  7. From the Properties drop-down list, select the property whose values you want to use as the domain model values.
  8. Click Finish.
    You see a message, "Domain Import Successful."
  9. Click OK.
    You see the Domain Model editor. The column values appear as domain entries. You can add, edit, duplicate, and remove entries as appropriate.