ClearMyBench
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Basic concepts of Object Oriented Modelling (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Basic concepts of Object Oriented Modelling
#2472
ShriNi (User)
Software Techie (PEGA) currently on a Career Break
Platinum Boarder
Posts: 4000
graph
User Offline Click here to see the profile of this user
Gender: Female Location: Secundrabad India Birthdate: 1983-09-29
Re:Basic concepts of Object Oriented Modelling 4 Years ago Karma: 0  
3.The Director class constructs the complex object using the Builder interface.

4.The Product represents the complex object that is being built.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2473
ShriNi (User)
Software Techie (PEGA) currently on a Career Break
Platinum Boarder
Posts: 4000
graph
User Offline Click here to see the profile of this user
Gender: Female Location: Secundrabad India Birthdate: 1983-09-29
Re:Basic concepts of Object Oriented Modelling 4 Years ago Karma: 0  
The client may be either another object or the actual client that calls the main() method of the application, initiates the Builder and Director class.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2474
ShriNi (User)
Software Techie (PEGA) currently on a Career Break
Platinum Boarder
Posts: 4000
graph
User Offline Click here to see the profile of this user
Gender: Female Location: Secundrabad India Birthdate: 1983-09-29
Re:Basic concepts of Object Oriented Modelling 4 Years ago Karma: 0  
The Builder represents the complex object that needs to be built in terms of simpler objects and types.

The constructor in the Director class receives a Builder object as a parameter from the Client
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2475
ShriNi (User)
Software Techie (PEGA) currently on a Career Break
Platinum Boarder
Posts: 4000
graph
User Offline Click here to see the profile of this user
Gender: Female Location: Secundrabad India Birthdate: 1983-09-29
Re:Basic concepts of Object Oriented Modelling 4 Years ago Karma: 0  
Theconstructor in the Director class receives a Builder object as a parameter from the Client and is responsible for calling the appropriate methods of the Builder class.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2476
ShriNi (User)
Software Techie (PEGA) currently on a Career Break
Platinum Boarder
Posts: 4000
graph
User Offline Click here to see the profile of this user
Gender: Female Location: Secundrabad India Birthdate: 1983-09-29
Re:Basic concepts of Object Oriented Modelling 4 Years ago Karma: 0  
The Builder class should be an abstract class so that it can provide the Client with an interface for all concrete Builders.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2477
ShriNi (User)
Software Techie (PEGA) currently on a Career Break
Platinum Boarder
Posts: 4000
graph
User Offline Click here to see the profile of this user
Gender: Female Location: Secundrabad India Birthdate: 1983-09-29
Re:Basic concepts of Object Oriented Modelling 4 Years ago Karma: 0  
So if the Builder class is an abstract class,we can add new types of complex objects by only defining the structure and reusing the logic for the actual construction process.

The Client is the only one that needs to know about the new types, the Director needing to know which methods of the Builder to call.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop
logo footer   Copyright 2009 - 2013 HotRecruiter.Com - All Rights Reserved