next up previous contents
Next: Use Cases Up: Domain model Previous: Domain Model validation   Contents

Extraction of Domain elements from Use cases

Sub-menu Validate->Extract Domain from Use Cases brings a Domain Model Extractor wizard that helps identify domain elements from use cases.

Figure 3.5: Domain Model Extractor
\begin{figure}\centering
\epsfxsize =5.4in
\epsfbox{domExtrAttr.eps}
\end{figure}
Section ``String to be resolved'' shows the condition, use case actor or the use case operation which needs to be analyzed in order extract the system concepts, concepts, aggregations, instances, possible values and operations within them. The following are the parts of the wizard interface.

Concept
to select a Concept from the string to be resolved. After selection, a concept name needs to be chosen by right-clicking at the right of the field.
System Concept
to select a System Concept from the string to be resolved.

There can't be both a Concept and a System Concept within a string to be resolved.

Object
to select a instance from the string to be resolved.
Of Concept/ System Concept
if a Concept or a System Concept has not been specified in the string to be resolved this field will be populated with the detected system concepts or the concepts of the instance if one already exists in the domain. Otherwise the user may enter the concept of the instance in this field. That concept will be added to the domain.

If the entered concept is a system concept, the user will need to manually change the concept in to a system concept in the domain model after it has been inserted.

Aggregation
to select an aggregate from the string to be resolved.
Attribute
to select an attribute from the string to be resolved.
Operation
to select an operation from the string to be resolved.

With the wordnetdata directory under the working directory (containing all wordnet data files), the system will detect the operation for you automatically. But this detection is based on extracting the operation under the assumption that its first word is a verb. But this is not guaranteed to work perfectly at all times as there could be words that belongs to both the noun and verb categories. In such a case you have to manually select the correct operation. If you don't have the wordnet data files then the system will require the user to select the operations manually.

It is not allowed to proceed with the wizard dialog by clicking on the Next button, if the string to be resolved can't be obtained by concatenating all the selections made.


next up previous contents
Next: Use Cases Up: Domain model Previous: Domain Model validation   Contents
Stephane S. Some 2005-01-25