Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 13 Creating an Organization Model : Creating a Schema

Creating a Schema
The Organization Schema is contained in the Organization Model file (named by default organization.om, where organization is the name of the organization for which you are creating the Organization Model).
To create the default schema, when you are creating an organization model, either as part of creating a new project or separately, ensure that you leave the Create default schema types checkbox selected.
If you select the Apply default Organization Type to Organization checkbox, the default Organization Type (called Public Company) from the default schema is applied to the initial Organization that is automatically created as part of this Organization Model. If you leave this checkbox empty, the Standard Organization Type is not applied.
Note that if you do not select Create default schema types, the Apply default Organization Type to Organization checkbox is not available:
4.
Click Finish. The default schema is created.
Using Your Own Schema Types
If you want to create your own schema, follow the same procedure described in Creating a Schema, but do not select the Create default schema checkbox. A schema is still created, but it does not include the standard types provided with the default schema. The only type created is one Resource type, the Human Resource Type.
The following illustration shows what is visible in the Project Explorer when you have created a non-default schema:
Creating Types in the Schema
If you are building your own schema, you need to create the types that make it up. If you are using the default schema provided, you can create new types to add to the schema in the same way as you would for a new schema. You can also modify the types provided. This enables you to extend the default schema provided by setting up additional attributes to define more closely the elements that make up the organization you wish to model.
Creating a Location Type
To create a location type, do the following:
1.
In the Project Explorer, expand the Schema folder for your Organization Model.
2.
In the Schema folder, right-click Location Types and select Add Child > Location Type. A new Location Type is created.
3.
Click the General tab in the Properties view. In the Label box, type the name of the Location Type.
4.
Click the Attributes tab. Click to add an attribute. Type in the name and select a type for the Attribute from the Type drop-down list. See "Attributes" in TIBCO Business Studio Concepts for more information about the types you can specify. You can also add a default value for the Attribute, depending on your requirements.
5.
Creating an Organization Type
To create an Organization type, do the following:
1.
In the Project Explorer, expand the Schema folder for your Organization Model.
2.
In the Schema folder, right-click Organization Types and select Add Child > Organization Type. A new Organization Type is created.
3.
Click the General tab in the Properties view. In the Label box, type the name of the Organization Type.
4.
a.
In the Unit Members box, click . Type the name of the member in the Label field.
b.
To specify that the member should be of a particular Organization Unit Type, click on the Type field and then click the button that then becomes available.
c.
The Select Type dialog is displayed. Click on the Organization Unit Type you require, and the click OK.
5.
In the Multiplicity field, type in the multiplicity you want.
6.
7.
Click the Attributes tab. Click to add an attribute. Type in the name and select a type for the Attribute from the Type drop-down list. See "Attributes" in TIBCO Business Studio Concepts for more information about the types you can set for attributes. You can also add a default value for the Attribute, depending on your requirements.
8.
Creating an Organization Unit Type
To create an Organization Unit type, do the following:
1.
In the Project Explorer, expand the Schema folder for your Organization Model.
2.
In the Schema folder, right-click Organization Unit Types and select Add Child > Organization Unit Type. A new Organization Unit Type is created.
3.
Click the General tab in the Properties view. In the Label box, type the name of the Organization Unit Type.
4.
a.
In the Unit Members box, click . Type the name of the member in the Label field.
b.
To specify that the member should be of a particular Organization Unit Type, click on the Type field and then click the button that then becomes available.
c.
The Select Type dialog is displayed. Click on the Organization Unit Type you require, and the click OK.
5.
In the Multiplicity field, type in the multiplicity you want.
6.
a.
In the Position Members box, click . Type the name of the member in the Label field.
b.
To specify that the member should be of a particular Position Type, click on the Type field and then click the button that then becomes available.
c.
The Select Type dialog is displayed. Click on the Position Type you require, and the click OK.
7.
In the Multiplicity field, type in the multiplicity you want.
8.
9.
Click the Attributes tab. Click to add an attribute. Type in the name and select a type for the Attribute from the Type drop-down list. See "Attributes" in TIBCO Business Studio Concepts for more information about the types you can specify for Attributes. You can also add a default value for the Attribute, depending on your requirements.
10.
Creating a Position Type
To create a Position type, do the following:
1.
In the Project Explorer, expand the Schema folder for your Organization Model.
2.
Right-click Organization and select Add Child > Position Type. A new Position Type is created.
3.
Click the General tab in the Properties view. In the Label box, type the name of the Position Type.
4.
Click the Attributes tab. Click to add an attribute. Type in the name and select a type for the Attribute from the Type drop-down list. See "Attributes" in TIBCO Business Studio Concepts for more information about the types you can specify. You can also add a default value for the Attribute, depending on your requirements.
5.
Creating an Organization Unit Relationship Type
To create an Organization unit relationship type, do the following:
1.
In the Project Explorer, expand the Schema folder for your Organization Model.
2.
In the Schema folder, right-click Organization Unit Relationship Types and select Add Child > Organization Unit Relationship Type. A new Organization Unit Relationship Type is created.
3.
Click the General tab in the Properties view. In the Label box, type the name of the Organization Unit Relationship Type.
4.
Click the Attributes tab. Click to add an attribute. Type in the name and select a type for the Attribute from the Type drop-down list. See "Attributes" in TIBCO Business Studio Concepts for more information about the types you can specify. You can also add a default value for the Attribute, depending on your requirements.
5.
Creating a Resource Type
To create a resource type, do the following:
1.
In the Project Explorer, expand the Schema folder for your Organization Model.
2.
In the Schema folder, right-click Resource Types and select Add Child > Resource Type. A new Resource Type is created.
3.
Click the General tab in the Properties view. In the Label box, type the name of the Resource Type.
4.
Click the Attribute tab. Click to add an attribute. Type in the name and select a type for the Attribute from the Type drop-down list. See "Attributes" in TIBCO Business Studio Concepts for more information about the types you can specify. You can also add a default value for the Attribute, depending on your requirements.
5.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved