2. The method of claim 1 , wherein the first node is a subtask node of the UML class diagram and the second node is a subtask node of the task interaction pattern.
1. A method of generating a Unified Modeling Language (UML) activity diagram of a UML task object, the method comprising: selecting a first node from a UML class diagram of the UML task object, the UML class diagram defining at least one subtask node that is associated with the UML task object, the at least one subtask node including the first node, and the first node defining a set of steps performed by a subtask of the first node; determining whether there exists a second node of a task interaction pattern of the UML task object that matches the first node, the task interaction pattern defining a complete ordered set of a plurality of steps, subtasks, decision blocks, and transitions between the steps, subtasks, and decision blocks performed by the UML task object; and automatically generating the UML activity diagram of the UML task object to include the first node, in response to determining that the second node exists, the UML activity diagram defining a subset of the set of steps, subtasks, decision blocks, and transitions between the steps, subtasks, and decision blocks performed by the UML task object.