Hi Herbie, [code sample snipped]
That's perfect, I'm having a go at implementing a generic version without typing so I can use re-use it but I understand the premise.
Good.
I'm thinking I should have done a little more reading as I hadn't touched on schemagen and so far I've been creating all the POJOs by hand, once I've finished the schema I'll go back though and re-create all them using schemagen and re-implement. Does Jena have the ability to encode and decode schemagen objects to and from RDF as that would be ideal and make a lot of my coding simpler?
No. All schemagen does is create java constants for each of the terms in a vocabulary.
There are various third party tools like jenabean which give POJO wrappers which you may be able to make use of, though I'm not sure that the project is that active at the moment.
Dave [1] http://code.google.com/p/jenabean/
