21.07.2013 Views

Modeling with Technology FrameWork

Modeling with Technology FrameWork

Modeling with Technology FrameWork

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Information about associations, association ends, and attributes<br />

Chapter 5: Business Object Models<br />

60<br />

association end mapping the Sales Rep class to the Compensation<br />

Package class is singular — compensation package.<br />

The name of an asosciation end or attribute should reflect its role in<br />

the model and, in fact, association end names are also called role<br />

names. Consider, for example, a model <strong>with</strong> two separate<br />

associations between the Customer and Customer Contact classes,<br />

one representing the primary contact, the other the secondary. You<br />

could name the association ends on the Customer class primary<br />

contact and secondary contact, respectively, to reflect the roles<br />

played by the customer contacts.<br />

Information about associations, association ends,<br />

and attributes<br />

Information about<br />

associations<br />

Information about<br />

association ends and<br />

attributes<br />

An association is connected to the association ends that implement<br />

it through the #functions association end.<br />

In addition to its name, an association end or attribute can have a<br />

variety of properties, some of which apply only in an OOAD context.<br />

In the context of a business system, an association end or attribute<br />

can have the following properties:<br />

■ For an association end only, the association it implements<br />

(#association association end).<br />

■ The class on which the association end or attribute is defined<br />

(#source association end).<br />

■ The lower bound of the multiplicity for the association end or<br />

attribute (#min_of attribute).<br />

■ The upper bound of the multiplicity for the association end or<br />

attribute (#max_of attribute).<br />

■ Uniqueness constraints in which the association end or<br />

attribute participates (#uniqueness_constraints association end).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!