Tuesday, February 01, 2005

Deployment Diagrams!!

Deployment Diagrams!!

It shows the physical architecture of a computer system.
It represents several cubes (computers) with several lines
between computers( interconnections).

Component Diagrams!!

Component Diagrams!!

Representation of each component of the system.
It is different than Use Case which focus on description
of system's behavior (each function or method) from
user's standpoint.


Collaboration Diagrams!!

Collaboration Diagrams!!

Representation of the elements of a system which
work together to accomplish the system's objectives.
It doesn't have a time frame.

Contexts!!

Contexts!!

Characteristic of a process or set of data characters whose meaning
depends on the surrounding environment.

Activity Diagrams!!

Activity Diagrams!!

Representation of the activities that occur within an
object's behavior or within a Use Case.it appears
in a sequence.

Interfaces &Realisations!!

Interfaces & Realisations!!

Interface is the point at which a connection is made
between two elements so that they can work with
each other or exchange information.It'sa class which
doesn't shows his attributes.

Realization is the relationship class and interface in the
UML.

Sequence Diagram!!

Sequence Diagram!!

Time-based dynamic representation of the interaction
between objects

State Diagram !!

State Diagram !!

At a specific time,an object is in a particular state.
The plant can be at different state of growing.
firt a seed,young plant and mature step of development.

Encapsulation!!

Encapsulation!!

The packaging of attributes and functionality(methods or behaviors) to create an object
that is essentially a "black box".Encapsulation ensures that the object providing service can
prevent others objects from manipulating its data or procedures directly,and it enables the object requesting service to ignore the details of how that service is provided.

Polymorphism!!

Polymorphism!!

The ability to redifine a routine (any section of code that can be executed within a program) in a derived class.Polymorphism allows the programmer to define a base class(superclass) that includes routines that perform standard operations on groups of related objects,without regard
to the exact type of each object.Then he can redefines the routines in the derived class for each type of object.

Object Diagrams!!

Object Diagrams!!

Rectangle which represents the icon's object.An object is
an instance of a class which has specific values of attributes
and behaviors.
An example is object myList that belongs to a class List
is an instance of the class List.

Class Diagrams!!

Class Diagrams!!

A class is a category or group of objects that have
similar attibutes(properties) and common behaviors.
This representation is helpfulduring the analysis phase
for the interaction between analyst and clients.

Use Case Diagram!!

Use Case Diagram!!

It is a description of the system's behavior from
a user's standpoint.it shows the kinds of interactions
users have with the system without providing details
of those interactions.

Composites!!

Composites!!

Their is a form of aggregation that involves a strong relationship between
an aggregate object and its component objects.It is a composition.
Let's take TXU energy Company's installations.it is made of electricity lines,
transformers,electricity pylons across Texas.If for example, one of the secondary
transformer fails in Dallas,a part of the city would be without electricity but
the rest of the network across Texas will not be affected.

Aggregations!!

Aggregations!!

An Object that's made up of a combination of a number of different types of
objects.For instance,the airplane is an aggregation made of different objects:
engines,radar,landing gears,wings,seats,GPS ,and so on.

Inheritance & Generalization!!

Inheritance & Generalization!!

Representation of the tranfer of characteristics of a class in OOP to other
classes derived from it.For example,if "vegetable" is a class,the classes
"legume"and "root" can be derived from it,and each will inherit the
properties of "vegetable" class: name,growing season and so on.

Monday, January 31, 2005

Qualified Association!!

Qualified Association!!

In a one-to-many association,a particular attribute of one class is use to find
the right object.In UML,this identifier is a qualifier.It is use to reduce a
One-to-many to a One-to-One multiplicity.It solves the look up problem.

Multiplicity!!

Multiplicity!!

It is a key point of association among objects.
In basketball you get 10 players who try to score
one ball.The players and the ball are in a one-to many
association.

Association!!

Association!!

Objects are often related to one another in some way.For instance,when we turn on your car
in the morning,in OOP you are in association with your car.

Tuesday, January 25, 2005

Inheritance!
As an instance of a class an object has all caracteristic of its Class.It is call inheritance.

Abstraction!

Abstraction is a feature of Java which allows us to filter out an Object properties and
Operations