Results 1 to 4 of 4

Thread: Bean Wrapper Implementation

  1. #1
    Join Date
    Jul 2007
    Posts
    18

    Default Bean Wrapper Implementation

    Do bean Wrapper Implementation in the Beans package Supports for Conversion of the Type between the Various Collections..

    For example can a Map be automatically casted to List we have type Conversion methods Like dotypeConversionIfnecessary()...

    can any one provide me certain docs regarding the BeanWrapperImplementation..I am not able to get it whether it a solution to my problem..

    Thanks for any help..

  2. #2
    Join Date
    Nov 2005
    Location
    Reutlingen, Germany
    Posts
    2,098

    Default

    Quote Originally Posted by chandru View Post
    Do bean Wrapper Implementation in the Beans package Supports for Conversion of the Type between the Various Collections..
    BeanWrapperImpl is to be considered an internal framework class IMO. Don't care for it but have a look on PropertyEditors instead.

    Quote Originally Posted by chandru View Post
    For example can a Map be automatically casted to List we have type Conversion methods Like dotypeConversionIfnecessary()...
    Map is not a Collection. It has completely different semantics. While Collection has addAll(Collection) this does not work with a Map.

    Jörg

  3. #3
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    What is it you are trying to do?
    Last edited by karldmoore; Aug 27th, 2007 at 04:26 PM.
    Barracuda Networks SSL VPN Lead Developer
    http://pramatr.wordpress.com
    http://twitter.com/karldmoore
    http://www.linkedin.com/in/karldmoore
    Any postings are my own opinion, and should not be attributed to my employer or clients.

  4. #4
    Join Date
    Jul 2007
    Posts
    18

    Default Bean wrapper Implementation

    hi

    Actually I am trying to map the ResultSet to the ValueObject..I have ArrayList in my VO for capturing the Columns of multiple records.
    So when we take a particular Column we should get the Column Values of all the records for a SingleColumn in a ArrayList and bind this ArrayList to the VO..This is my task..

    Does beanwrapper Impl Can Help me for this Puropse in any way..Please suggest some other Procedure..

    Kindly help me..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •