On Wed, Oct 1, 2008 at 13:49, Boni Gopalan (BioImagene) <
[EMAIL PROTECTED]> wrote:

> I think we should have a Generic collection converter that can convert
> Map<KeyType,ValueType> as long as KeyType and ValueType are simple
> convertible types : Such as the ones supported by
> UndefinedTypeConverterImpl.
>

ok but the multivalue prop is not supporting keys/value so we have to find a
nice way to translate it into a map.


>
> Talking about hacks, I have a Enumeration Converter that will convert
> Simple enumerations back and forth. Shall I put it in as a patch?


Of course, you are welcome :-)



>
>
> -----Original Message-----
> From: Christophe Lombart [mailto:[EMAIL PROTECTED]
> Sent: 01 October 2008 16:58
> To: [email protected]
> Subject: Re: OCM:Mapping a hashmap
>
> On Wed, Oct 1, 2008 at 12:06, Boni Gopalan (BioImagene) <
> [EMAIL PROTECTED]> wrote:
>
> > Is there a simple was to map a collection of type Map<String,String> ?
>
>
> In point of view JCR, is it a multi value property ?
>
> If you want to map a multi value property into a java Map, we have to
> refactor the converter MultiValueCollectionConverterImpl to support java
> Map
> objects. the good news : only the method doGetCollection has to modified
> ...
> but we have to find a hack to translate a multi value prop into a java
> Map.
>
> br,
> Christophe
>
>
>
> >
> >
> >
> > Boni Gopalan
> > Manager Engineering
> > BioImagene, Pune
> >
> > +91-206-609-6579(O)
> > +91-992-369-9356(C)
> >
> >
> >
> >
>

Reply via email to