Sign up or Sign in | Share
 
ClearMyBench
Welcome, Guest
Please Login or Register.    Lost Password?
Basic concepts of Object Oriented Modelling (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Basic concepts of Object Oriented Modelling
#2496
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 3 Years, 11 Months ago Karma: 0  
The prototype manager should implement operations for managing registered prototypes like registering a prototype under a certain key,

searching for a prototype with a given key, removing one from the register, etc
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2497
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 3 Years, 11 Months ago Karma: 0  
The clients will use the interface of the prototype manager to handle prototypes at run-time and will ask for permission before using

the Clone() method
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2498
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 3 Years, 11 Months ago Karma: 0  
There is not a major difference between an implementation of a prototype which uses a prototype manager and a factory method implemented using class registration mechanism.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2499
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 3 Years, 11 Months ago Karma: 0  
Deep clone

A deep clone clones the instance variables in the cloning object
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2500
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 3 Years, 11 Months ago Karma: 0  
Shallow clone

A shallow clone shares the instance variables between the clone and the original.

A shallow clone is very simple.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2501
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 3 Years, 11 Months ago Karma: 0  
For cloning complex prototypes we should use deep clones so the clone and the original are independent.

A deep clone needs its components to be the clones of the complex object’s components.
 
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