0% found this document useful (0 votes)
21 views

Structural Things

Structural things in UML models represent conceptual or physical elements and include classifiers like classes and interfaces. A class defines a set of objects with shared attributes, operations, relationships, and semantics, and can implement one or more interfaces. An interface specifies a class's externally visible behaviors through a set of operation signatures but not implementations. Interfaces provided or required by a class are shown graphically as circles or semi-circles attached to the class. Collaborations define interactions between roles and elements, having both structural and behavioral aspects. Use cases describe system behaviors and are realized through collaborations.

Uploaded by

ksai.mb
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

Structural Things

Structural things in UML models represent conceptual or physical elements and include classifiers like classes and interfaces. A class defines a set of objects with shared attributes, operations, relationships, and semantics, and can implement one or more interfaces. An interface specifies a class's externally visible behaviors through a set of operation signatures but not implementations. Interfaces provided or required by a class are shown graphically as circles or semi-circles attached to the class. Collaborations define interactions between roles and elements, having both structural and behavioral aspects. Use cases describe system behaviors and are realized through collaborations.

Uploaded by

ksai.mb
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

Structural Things

1)What are structural things?(nouns and static parts model)


A)Structural things are the nouns of UML models, these are the nostly staic parts
of a model
2)What they represents?(elements that are either conceptual or physical )
A)Structural things represents elements that are either conceptual or physical
3)What are classifiers?( collection of structural things)
A)Collection of structural things are called as classifiers
4)What is a class? (set of objects that share same attributes , operations
,relationships and semantics)
A)A class is a description of a set of objects that share the same
attributes ,operations,relationships,and semantics.
5)What a class implements? (one or more interfaces)
A)A class implements one or more interfaces.
6)How a Class is represented graphically? (as a rectangle, including its
name,attributes,and operations)
A)A class is represented graphically as a rectangle, including its name attributes,
and operations .
6.1)Diagram

1
7)What is an interface? (collection of operations that specify services of a class)
A)An interface is a collection of operations that specify a service of a class or
component
8)What an interface describes?(externally visible behavior of that element)
A)An interface describes the externally visible behavior of that element
9)What an interface represents?(complete behavior of a class or only a part of
it)
A)An interface might represent the complete behavior of a class or component or
only a part of that behavior.
10)What an interface defines? (a set of operation specifications (signatures))
A)An interface defines a set of operation specifications that is their signatures but
never a set of implementations.
11)How an interface is declared?(with key word <<interface>> above the name,
attributes are not relevant except constants)
A)The declaration of an interface looks like a class with the keyword
<<interface>> above the name, attributes are not relevant except some times to
show constants.
12)How an interface of a class to the outside world is represented?(with a small
circle attached to the class box by a line)
A)An interface provided by a class to the outside world is shown as a small circle
attached to the class box by a line.
13)How an interface required by a class from some other class is represented?
(with a small semi circle attached to the
class box)
A)An interface required by a class from some other class is shown as a small semi
circle attached to the class box by a line.

2
14)Diagram of Interfaces

14)What is collaboration?(it defines an interaction and is society of roles and


other elements that work together)
A)A collaboration defines an interaction and is a society of roles and other
elements that work together to provide some cooperative behavior that's bigger
than the sum of all the elements.
{Society of Roles} +{other elements} = provides some cooperative behavior >
sum of all the elements
15)What dimensions collaborations have? (structural and behavioral)
A)Collaborations have structural and behavioral dimensions.
16)which one participates in collaboration? (a given class or an object)
A)A given class or an object might participate in several collaborations.
17)Notation of Collaborations?(an ellipse with dashed lines, including its name)
A)Collaborations are represented with an ellipse with dashed lines, some times
including only its name,

3
18)Diagram of Collaborations
Figure: Collaborations

19)What is a use case? (it is a descriptions of sequence of actions that a system


performs)
A)A use case is a description of sequence of actions that a system performs that
yield observable results of value to a particular actor.
20)Why a use case is used?(to structure the behavioral things in a model)
A)A use case is used to structure the behavioral things in a model
21)How a use case is realized?(by a collaboration)
A)A use case is realized by a collaboration
22)Notation of Use Case?( with an ellipse with solid lines, including only its
name)
A)A Use Case is denoted by an ellipse with solid lines, usually including only its
name .
23)Diagram of use case
Figure: Use Cases

4
5

You might also like