--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+unsubscribe@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
On Mon, Nov 21, 2016 at 4:31 AM, <jan.bjo...@gmail.com> wrote:Hey.
I am using Pinto (https://github.com/stardog-union/pinto) and the Identifable interface for controlling the id when mapping from POJO to Model.
public class VirksomhetId implements Identifiable {
private Resource id;
( ... )
@Override
public Resource id() {
return id;
}
@Override
public void id(Resource id) {
this.id = id;
}
public void setId(String id) {
this.id = SimpleValueFactory.getInstance().createIRI(id);
}
}
Is there any way of reading the IRI of the subject into Id when mapping back from Model to POJO?I'm not sure I follow. The id should be set when creating the bean from the RDF. Is that not the behavior you're seeing?Cheers,Mike
--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to