6 Replies Latest reply on Jul 30, 2010 5:02 AM by BhaskerChari

    Clone ValueObject generated by the service wizard

    Mogge 3000 Level 1

      Hi,

       

      I've used ObjectUtil.copy to make copies of an ArrayCollection holding ValueObjects generated by the Data / Services wizards. The ArrayCollection is indeed cloned but the ValueObjects loose their type and become generic Objects. Further they only hold the actual values and none of the other  information such as destination and so on.

       

      Is there a way to copy the objects without loosing the type?