You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenabean-dev
I am extended QUDT in order to be able to express units as typed
literals. The following turtle fragment has ProductionRow_1's
tubingPressure = 200 psia. The unit or:unit:psia is a subclass of
xsd:double
I first tried setting the java type for bean property tubingPressure
to Float and then to String.
In both cases, when my application reads tubingPressure it throws an
exception:
"Dec 21, 2010 5:59:52 PM thewebsemantic.FieldContext setProperty
WARNING: Could not set bean field tubingPressure
java.lang.IllegalArgumentException: Can not set java.lang.String field
com.or.orka.jenabeans.schema.Production.tubingPressure to
com.hp.hpl.jena.datatypes.BaseDatatype$TypedValue"
Is there a way to handle one of these custom types?
Thanks
Arthur
Don't know if this is relevant, but here is the psia definition