What is the appropriate approach to do this?

An organization has determined that they want to add the capability to create and add requirement elements to their UML models. They also want to create a unique relationship for tracing requirements to other model elements.

What is the appropriate approach to do this?
A . Use the requirement element and relationship defined in the UML specification.
B . Create a profile that stereotypes Class as requirement and Dependency as the relationship.
C . Create a new MOF metamodel that includes UML and adds the desired requirement element and relationship.
D . Assign tag values that ascribe the desired requirement type to a UML Requirement and Dependency relationship.

Answer: B

Explanation:

UML allows the introduction of new concepts that are not part of the standard UML metamodel by creating a profile. To add capabilities for modeling requirements and tracing relationships in UML, a profile can be created where a Class is stereotyped to represent a requirement, and a Dependency is stereotyped to represent the trace relationship. This approach is both practical and conforms to the UML standard’s mechanisms for extending the language. It is a common practice to create such profiles for requirements engineering within the UML framework. This conforms to the UML 2 Superstructure Specification, which provides guidelines on creating and applying profiles and stereotypes.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments