![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
• A class representing the claim itself
• Classes representing the two types of claim, fault and no-fault, which are subordinated to the claim class
Classes can be embedded in a higher-level object, a package. The business object model itself is a package; intermediate packages are not necessary in simple models such as this example.Task A Renaming the model
1. Click the .bom tab. The business object model editor opens.
2. In the Properties view for the model, select the text in the Label field. Type Motor Claims business objects.Task B Creating the Classes
1.
2. The label field of the new class is automatically selected at this point. Type Generic Claim into the selected field. Click away from the field to save the label.
3.
4. Clickor press Ctrl+S to save the changes you have made to the project.
1. In the palette, select the Attribute tool. Drag it over the Generic Claim class in the diagram and drop it.
2. Select the attribute, and on the General tab of the Properties view, type Claim Description in the Label field.
3.
4. Attributes default to a type of Text, as shown in the previous illustration. This is appropriate for the claim description, but not for the amount. Click the browse button. The Select Type browser is displayed.
5.
6. Add an attribute called Counterparty to the Fault claim class, and an attribute called Confirmation of no fault to the No fault claim class. Keep the default Text type for both these.Relationships indicate connections between objects in a business object model. Connections can be generalizations or compositions.A generalization connects two classes, and it indicates that one of the two classes is a more general form of the other. Another way of describing it is that the more specialized class is a derived version of the more general class. In this procedure the Fault claim and No fault claim classes represent specific types of claim, and so are derived from the general Generic claim class. Both inherit the properties of Generic Claim, including the Claim description and Claim amount attributes. The additional attributes that Fault claim and No fault claim possess apply only to that one class each.
1.
2. Click on the No fault claim class and drag the pointer to the Generic Claim class. This creates the generalization. Note that the General tab in the Properties view for the generalization indicates the classes that it links.
3.
4. Clickor press Ctrl+S to save the changes you have made to the project.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |