I disagree with this answer.

Node2Bean is a fairly general, though not completely general mapping facility.

*Most* normal beans can be mapped by Node2Bean. You should definitely give it a 
try for your Products class, in most cases it will work.

In particular it should work for:

Primitive types and their boxed equivalents
Strings
Lists
Maps
Sub-Beans

Regards from Vienna,

Richard



> -----Ursprüngliche Nachricht-----
> Von: user-list-ow...@magnolia-cms.com [mailto:user-list-owner@magnolia-
> cms.com] Im Auftrag von Lars Fischer (via Magnolia Forums)
> Gesendet: Dienstag, 08. September 2015 09:56
> An: Magnolia User List
> Betreff: [magnolia-user] Re: Node2Bean
> 
> Hi Tim,
> 
> the Node2Bean mechanism is not a general mapping facility but you might
> have a look at Jackrabbit Object Content Mapping:
> http://jackrabbit.apache.org/jcr/object-content-mapping.html.
> 
> Also look at the Magnolia Shop Module for an example of usage:
> https://documentation.magnolia-cms.com/display/DOCS53/Shop+module
> 
> Hava fun
> Lars
> 
> --
> Context is everything: http://forum.magnolia-
> cms.com/forum/thread.html?threadId=0f99aa9d-93ec-4c2a-a942-
> c6dcca227598
> 
> 
> ----------------------------------------------------------------
> For list details, see http://www.magnolia-cms.com/community/mailing-
> lists.html
> Alternatively, use our forums: http://forum.magnolia-cms.com/
> To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
> ----------------------------------------------------------------



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to