Диаграммы классов в Rose. (Тема 7) презентация

Where Are We? What are class diagrams? Elements of the class diagram

Слайд 1Тема 7: Диаграммы классов


Слайд 2Where Are We?
What are class diagrams?
Elements of the class diagram



Слайд 3What Are Class Diagrams?
A class diagram shows a set of classes,

interfaces, and their relationships.

Слайд 4What Are Class Diagrams?
You will use input artifacts, including the interaction

diagrams, to develop and refine the class diagram.

Слайд 5What Are Class Diagrams?
Class diagrams show the static view of the

system and are modeled in the Logical View under the appropriate use-case realization.

Слайд 6What Are Class Diagrams?
A VOPC class diagram shows a use-case realization’s

participating classes and the relationships among those classes.
It shows all classes whose instances collaborate to perform the use case and their relationships.
It ensures consistency in use-case implementation across subsystem boundaries.

Слайд 7Where Are We?
What are class diagrams?
Elements of the class diagram



Слайд 8
Elements of a Class Diagram
A

class diagram is made up of the following basic elements
Classes
Relationships
Associations
Aggregations
Generalizations

Слайд 9
Classes
A class is a set

of objects that share the same attributes, operations, relationships, and semantics.
In the UML, a class is represented by a compartmentalized rectangle.

Слайд 10
Relationships
A relationship is a semantic

connection among elements.
A class diagram has three types of relationships
Associations
Aggregate Associations
Generalizations

Слайд 11
Associations
An association is the most

general relationship and indicates communication only.
In the UML, an association is represented by a solid line with or without an arrow.

Слайд 12
Aggregate Associations
An aggregate association is

a type of association where a whole is related to its part(s).
In the UML, an aggregation is represented by a solid line with or without an arrow on one end and hollow diamond at the end of the aggregate (whole).

Слайд 13
Association Specifiers
Associations in a class

diagram can be further defined by
Association Names
Role Names
Multiplicity

Слайд 14
Association Names
An association name is

a label that clarifies the meaning of the association.
In Rose, the association name is placed along the middle of the association line.


Слайд 15
Role Names
A role name is

a label that specifies the “face” the class plays in an association.
In Rose, the role name is placed along the association line nearest the class it modifies.

Слайд 16
Multiplicity
Multiplicity is the number of

instances a class relates to an instance of another class.
Multiplicity is defined at both ends of the association line.

Слайд 17
Generalizations
A generalization is a parent/child

relationship where one class shares the structure and behavior of one or more classes.
In the UML, a generalization relationship is represented by a solid line with a hollow arrow.

Generalization Relationship



Слайд 18Review
Define a class diagram.
What is a VOPC class diagram?
Name two elements

of a class diagram.
What is an aggregate association?
When should you use role names?
What is multiplicity?
What is a generalization?

Обратная связь

Если не удалось найти и скачать презентацию, Вы можете заказать его на нашем сайте. Мы постараемся найти нужный Вам материал и отправим по электронной почте. Не стесняйтесь обращаться к нам, если у вас возникли вопросы или пожелания:

Email: Нажмите что бы посмотреть 

Что такое ThePresentation.ru?

Это сайт презентаций, докладов, проектов, шаблонов в формате PowerPoint. Мы помогаем школьникам, студентам, учителям, преподавателям хранить и обмениваться учебными материалами с другими пользователями.


Для правообладателей

Яндекс.Метрика