Map type properties

10 views
Skip to first unread message

sophiataskova

unread,
Aug 11, 2011, 2:19:09 PM8/11/11
to jenabean-dev, ble...@mtholyoke.edu
Hello,

I am writing with a question on persisting the properties of Java
beans.
The only property of a bean I am unable to make persistent is a
property of type java.util.Map
Could you let me know whether I should be able to make properties of
type Map persistent and what I would need to do differently to achieve
that (I have tagged the property as an @RdfProperty and generated its
getters and setters).

Thank you in advance,

Sofiya Taskova

Taylor Cowan

unread,
Aug 15, 2011, 5:49:40 PM8/15/11
to jenabe...@googlegroups.com
That's right, JenaBean doesn't support Maps, I couldn't figure out
what structure in the graph that'd become.

Sofiya,

If we support that, how would you like the Map to be stored as RDF?
with just a little thought I think it can be supported.

Taylor

> --
> You received this message because you are subscribed to the Google Groups "jenabean-dev" group.
> To post to this group, send email to jenabe...@googlegroups.com.
> To unsubscribe from this group, send email to jenabean-dev...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/jenabean-dev?hl=en.
>
>

sophiataskova

unread,
Aug 24, 2011, 5:14:48 AM8/24/11
to jenabean-dev
Thank you for your reply!

I would like a key in the Map to be an RDF resource with one property,
which is its value. Are you considering supporting Maps in the near
future?

-Sofiya


On Aug 16, 12:49 am, Taylor Cowan <thewebseman...@gmail.com> wrote:
> That's right, JenaBean doesn't support Maps, I couldn't figure out
> what structure in the graph that'd become.
>
> Sofiya,
>
> If we support that, how would you like the Map to be stored as RDF?
> with just a little thought I think it can be supported.
>
> Taylor
>
Reply all
Reply to author
Forward
0 new messages