1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    7
    Vote Rating
    0
    fully is on a distinguished road

      0  

    Default BeanModelFactory: how to BeanModel to Bean ?

    BeanModelFactory: how to BeanModel to Bean ?


    Hello,
    I am using beanModelFactory to build BeanModel Collection from
    JavaBean Collection (using @BEAN(UserDTO.class)):
    final BeanModelFactory beanModelFactory =
    BeanModelLookup.get().getFactory(UserDTO.class);
    ....
    final List<BeanModel> createModel =
    beanModelFactory.createModel(proxy.users());
    My question: is there the same way to build JavaBean from beanModel ?

    Thanks a lot

  2. #2
    Sencha User
    Join Date
    Nov 2010
    Posts
    7
    Vote Rating
    0
    fully is on a distinguished road

      0  

    Thumbs up [Solved]

    [Solved]


    Sorry, getBean() was enought

    Generic could have been helpfull.

    Thanks all

Similar Threads

  1. Replies: 4
    Last Post: 25 Jan 2011, 3:40 AM
  2. Replies: 0
    Last Post: 18 Jan 2011, 3:29 AM
  3. Replies: 1
    Last Post: 23 Feb 2010, 5:02 AM
  4. ModelData/BeanModel - where's my bean?
    By dchicks in forum Community Discussion
    Replies: 1
    Last Post: 20 Oct 2009, 10:05 AM
  5. BeanModelFactory and BeanModel should be generified
    By rzschech in forum Community Discussion
    Replies: 1
    Last Post: 25 Sep 2008, 1:05 AM