PDA

View Full Version : راجع به use case و uml



hamed_f65
جمعه 16 اسفند 1387, 14:44 عصر
سلام و عرض ادب
بنده 2 تا سوال داشتم
این 2 تا سوال رو استاد مهندسی نرم افزار بنده به عنوان پروژه دادن :

1 - دیاگرام های uml که بر اساس نوع مدل سازی آنها (نحوه نمایش سیستم) تقسیم بندی می شوند را ارائه کنید

2 - قالب use case document را پیدا کنید و آنرا به فرمت فارسی درآورید .

البته برای مورد دوم هم گفتن که عبارت زیر رو در گوگل سرچ کنم که نتیجه نگرفتم . چون زیاد از مهندسی نرم افزار چیزی سرم نمیشه :
use case document template rup

ممنون میشم کمک کنید

hamed_f65
جمعه 16 اسفند 1387, 14:51 عصر
البته راجه به سوال اول خودم چند مورد رو پیدا کردم که کامل نیست که عبارتند از :




1.Use Case Diagram
2.Class Diagram
3.Object Diagram

4.Sequence Diagram
5.Collaboration Diagram
6.StateChart Diagram
7.Activity Diagram
8.Component Diagram
9.Deployment Diagram


4 تای دیگه باید باشه که بنده پیدا نکردم
هر کس میدونه لطفا راهنمایی کنه
ممنون

miimii
یک شنبه 18 اسفند 1387, 11:38 صبح
دوست عزيز عبارت Use case model in RUP را جستجو کن نتيجه ميگيري
اگر package Rational suite را نيز نصب کرده باشي مي تواني از داخل آن تمامي templateهاي مرتبط با artifact را پيدا کني

اگر مشکلي داشتي اطلاع بده

setare_h
پنج شنبه 06 فروردین 1388, 12:16 عصر
سلام
شما package rational suite رو ندارید؟

mehdi_m1360
شنبه 08 فروردین 1388, 21:54 عصر
من هرکاری کردم نتونستم فایل template رو attach کنم، برای همین اینجا میزارمش
================================================== =========


<Project Name>



Use Case Specification: <Use-Case Name>







Version <1.0>



[Note: The following template is provided for use with the Rational Unified Process. Text enclosed in square brackets and displayed in blue italics (style=InfoBlue) is included to provide guidance to the author and should be deleted before publishing the document. A paragraph entered following this style will automatically be set to normal (style=Body Text).]










Revision History



Date


Version


Description


Author
<dd/mmm/yy>
<x.x>
<details>
<name>

















Table of Contents

1. Use-Case Name (file:///C:/Documents%20and%20Settings/mehdi/Desktop/rup_ucspec.htm#1.%20%20%20%20%20%20%20%20%20%20%20 %20%20%20%20%20%20%20Use%20Case%20Name)

1.1 Brief Description (file:///C:/Documents%20and%20Settings/mehdi/Desktop/rup_ucspec.htm#1.1%20%20%20%20%20%20%20%20%20%20%2 0%20%20%20%20Brief%20Description)

2. Flow of Events (file:///C:/Documents%20and%20Settings/mehdi/Desktop/rup_ucspec.htm#2.%20%20%20%20%20%20%20%20%20%20%20 %20%20%20%20%20%20%20Flow%20of%20Events)

2.1 Basic Flow (file:///C:/Documents%20and%20Settings/mehdi/Desktop/rup_ucspec.htm#2.1%20%20%20%20%20%20%20%20%20%20%2 0%20%20%20%20Basic%20Flow)

2.2 Alternative Flows (file:///C:/Documents%20and%20Settings/mehdi/Desktop/rup_ucspec.htm#2.2%20%20%20%20%20%20%20%20%20%20%2 0%20%20%20%20Alternative%20Flows)

2.2.1 < First Alternative Flow > (file:///C:/Documents%20and%20Settings/mehdi/Desktop/rup_ucspec.htm#2.2.1%20%20%20%20%20%20%20%20%20%20 %3C%20First%20Alternative%20Flow%20%3E)

2.2.2 < Second Alternative Flow > (file:///C:/Documents%20and%20Settings/mehdi/Desktop/rup_ucspec.htm#2.2.2%20%20%20%20%20%20%20%20%20%20 %3C%20Second%20Alternative%20Flow%20%3E)

3. Special Requirements (file:///C:/Documents%20and%20Settings/mehdi/Desktop/rup_ucspec.htm#3.%20%20%20%20%20%20%20%20%20%20%20 %20%20%20%20%20%20%20Special%20Requirements)

3.1 < First Special Requirement > (file:///C:/Documents%20and%20Settings/mehdi/Desktop/rup_ucspec.htm#3.1%20%20%20%20%20%20%20%20%20%20%2 0%20%20%20%20%3C%20First%20Special%20Requirement%2 0%3E)

4. Preconditions (file:///C:/Documents%20and%20Settings/mehdi/Desktop/rup_ucspec.htm#4.%20%20%20%20%20%20%20%20%20%20%20 %20%20%20%20%20%20%20Preconditions)

4.1 < Precondition One > (file:///C:/Documents%20and%20Settings/mehdi/Desktop/rup_ucspec.htm#4.1%20%20%20%20%20%20%20%20%20%20%2 0%20%20%20%20%3C%20Precondition%20One%20%3E)

5. Postconditions (file:///C:/Documents%20and%20Settings/mehdi/Desktop/rup_ucspec.htm#5.%20%20%20%20%20%20%20%20%20%20%20 %20%20%20%20%20%20%20Postconditions)

5.1 < Postcondition One > (file:///C:/Documents%20and%20Settings/mehdi/Desktop/rup_ucspec.htm#5.1%20%20%20%20%20%20%20%20%20%20%2 0%20%20%20%20%3C%20Postcondition%20One%20%3E)

6. Extension Points (file:///C:/Documents%20and%20Settings/mehdi/Desktop/rup_ucspec.htm#6.%20%20%20%20%20%20%20%20%20%20%20 %20%20%20%20%20%20%20Extension%20Points)

6.1 <Name of Extension Point> (file:///C:/Documents%20and%20Settings/mehdi/Desktop/rup_ucspec.htm#6.1%20%20%20%20%20%20%20%20%20%20%2 0%20%20%20%20%3CName%20of%20Extension%20Point%3E)


Use-Case Specification: <Use-Case Name>

1. Use-Case Name



[The following template is provided for a Use-Case Specification, which contains the textual properties of the use case. This document is used with a requirements management tool, such as Rational RequisitePro, for specifying and marking the requirements within the use-case properties.

The use-case diagrams can be developed in a visual modeling tool, such as Rational Rose. A use-case report (with all properties) may be generated with Rational SoDA. For more information, see the tool mentors in the Rational Unified Process.]

1.1 Brief Description



[The description briefly conveys the purpose of the use case. A single paragraph will suffice for this description.]

2. Flow of Events



2.1 Basic Flow



[This use case starts when the actor does something. An actor always initiates use cases. The use case describes what the actor does and what the system does in response. It needs to be phrased in the form of a dialog between the actor and the system.

The use case describes what happens inside the system, but not how or why. If information is exchanged, be specific about what is passed back and forth. For example, it is not very illuminating to say that the actor enters customer information. It is better to say the actor enters the customer’s name and address. A Glossary of Terms is often useful to keep the complexity of the use case manageable—you may want to define things like customer information there to keep the use case from drowning in details.

Simple alternatives may be presented within the text of the use case. If it only takes a few sentences to describe what happens when there is an alternative, do it directly within the Flow of Events section. If the alternative flow is more complex, use a separate section to describe it. For example, an Alternative Flow subsection explains how to describe more complex alternatives.

A picture is sometimes worth a thousand words, though there is no substitute for clean, clear prose. If it improves clarity, feel free to paste graphical depictions of user interfaces, process flows or other figures into the use case. If a flow chart is useful to present a complex decision process, by all means use it! Similarly for state-dependent behavior, a state-transition diagram often clarifies the behavior of a system better than pages upon pages of text. Use the right presentation medium for your problem, but be wary of using terminology, notations or figures that your audience may not understand. Remember that your purpose is to clarify, not obscure.]

2.2 Alternative Flows



2.2.1 < First Alternative Flow >



[More complex alternatives are described in a separate section, referred to in the Basic Flow subsection of Flow of Events section. Think of the Alternative Flow subsections like alternative behavior—each alternative flow represents alternative behavior usually due to exceptions that occur in the main flow. They may be as long as necessary to describe the events associated with the alternative behavior. When an alternative flow ends, the events of the main flow of events are resumed unless otherwise stated.]

2.2.1.1 < An Alternative Sub-flow >



[Alternative flows may, in turn, be divided into subsections if it improves clarity.]

2.2.2 < Second Alternative Flow >



[There may be, and most likely will be, a number of alternative flows in a use case. Keep each alternative flow separate to improve clarity. Using alternative flows improves the readability of the use case, as well as preventing use cases from being decomposed into hierarchies of use cases. Keep in mind that use cases are just textual descriptions, and their main purpose is to document the behavior of a system in a clear, concise, and understandable way.]

3. Special Requirements



[A special requirement is typically a nonfunctional requirement that is specific to a use case, but is not easily or naturally specified in the text of the use case’s event flow. Examples of special requirements include legal and regulatory requirements, application standards, and quality attributes of the system to be built including usability, reliability, performance or supportability requirements. Additionally, other requirements—such as operating systems and environments, compatibility requirements, and design constraints—should be captured in this section.]

3.1 < First Special Requirement >





4. Preconditions



[A precondition of a use case is the state of the system that must be present prior to a use case being performed.]

4.1 < Precondition One >





5. Postconditions



[A postcondition of a use case is a list of possible states the system can be in immediately after a use case has finished.]

5.1 < Postcondition One >





6. Extension Points



[Extension points of the use case.]

6.1 <Name of Extension Point>



[Definition of the location of the extension point in the flow of events.]