On Apr 29, 8:05 am, uoc <
uoc...@gmail.com> wrote:
> On 28/04/2010 20:20, uoccou wrote:
>
> > Or should I not be attempting to control the ID to that extend and let
> > jenabean do it ? Im not coding at the moment, but Im guessing that
> > jenabean will create the URI for the rdf from the namespace and
> > classname, then tack on the id property, so if Im manually creating an
> > ID directly its interfering with that mechanism - that is to say I
> > should create the unique part of the ID only, and let jenabean create
> > the leading part of the URI ?
>
> > On Apr 28, 7:39 pm, uoccou<
uoc...@googlemail.com> wrote:
>
> >> Hi,
>
> >> Im wondering why in the TypeWrapper.toBean methods you call last(uri)
> >> when a Bean has a constructor with a single String. My beans have such
> >> a constructor and go to lengths to generate an id (a local defined ns
> >> based uri) and when I read back these objects with an RDF2Bean reader
> >> using the same generated id, the call to last blows it away and I end
> >> up with unequal objects.
>
> >> Is there a way around this ? Can the constructor be left to do its
> >> work with the id that was found in the repository ?
>
> >> --
> >> 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 athttp://
groups.google.com/group/jenabean-dev?hl=en.
>