StatCounter

View My Stats

Friday, February 6, 2009

Aggregation,Association,Active Object,Passive object

Aggregation,Association,Active Object,Passive object


Aggregation:
____________

-One Object should be composed of more than 1 or 2 objects.

-An object composed of 2 or more other object.



For Example take a Car. Eventhrough the car does not having

the wheel The car called to become as Car.

Here the wheel object belngs to the group of car object.


->InAggregation the Object associated with on collection Objects.


->For Example:Purchase object associated with the Item Collection

Object.


Association:
_____________


Their will be a permanent relationship with 2 objects r called
as association.

For Example take a Humam body. If a heart of a human body get
diseased the human body will become body.


Active Object:
______________
An Object become Spontaneously invoke itself is alled as Active

Example: Clock...The time has changed continuously


Example: client

Passive object:
_______________

An Object rewuires an external resources or request itself to

activate itself.

Example: Calling Bell.

Some of other Objects:
_______________________

1.Monolithic Object
2.composite Object
(2.0)The composite object get's divided into 2 categories

they r
(2.1)homogeneous composite Object

(2.2)Heterogeneous composite object

No comments: