Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsHow to serialize the RDF type for resource annotated properties ?
https://www.eclipse.org/forums/index.php/mv/msg/489404/1064947/#msg_1064947
@OslcPropertyDefinition("http:/purl.org/dc/terms/aBoolean")
@OslcName("aBoolean")
@OslcOccurs(Occurs.ExactlyOne)
@OslcValueType(ValueType.Boolean)
public Boolean getABoolean() {
return true;
}
The serialized rdf xml for an instance of the resource:
Is it possible to enforce OSLC4J to make the rdf type explicit for the property (in other words, having the rdf:datatype="http:/www.w3.org/2001/XMLSchema#boolean") in the XML ?
Thanks]]>Givanildo Alves2013-06-21T19:25:35-00:00Re: How to serialize the RDF type for resource annotated properties ?
https://www.eclipse.org/forums/index.php/mv/msg/489404/1065152/#msg_1065152
The place in the code to look is JenaModelHelper.handleLocalResource() in OSLC4JJenaProvider.]]>Samuel Padgett2013-06-24T14:02:15-00:00Re: How to serialize the RDF type for resource annotated properties ?
https://www.eclipse.org/forums/index.php/mv/msg/489404/1065213/#msg_1065213
Bug 411535 entered ]]>Givanildo Alves2013-06-24T19:50:52-00:00