• Post Reply Bookmark Topic Watch Topic
  • New Topic

what is the need for a DTO / VO to implement Cloneable interface  RSS feed

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

We have a DTO/ VO which is implementing Cloneable interface

Can anybody please let me know in what cases is it necessary for a DTO/VO to implement
Cloneable interface ??

syntax of our class :



Please share your ideas .
Thanks in advance .
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When it needs to be cloneable, I suppose.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I accept you are very smart ,let other people answer
 
Rob Spoor
Sheriff
Posts: 21135
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you need to be able to call the clone() method.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I neither let, nor don't let, other people answer.

I don't know what kind of answer are you expecting. java.lang.Cloneable has pretty straight-forward semantics and meaning.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Who is the author of FileDTO class? Don't you think s/he is the best person to answer this question?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!