Closed amedranogil closed 6 years ago
The first thing that comes to my mind is: Serialization type (FULL, OPTIONAL...) for this property does not serialize it. Have you checked that?
Using default behaviour out of the UMLTransformation tool. I guess, since the rest has FULL serialization, this property does too.
There was a problem with Java, the correct way to create Duration is:
Duration dur = DatatypeFactory.newInstance().newDuration(90000); //in ms
s.setLast_for(dur);
This produces:
:last_for "P0Y0M0DT0H1M30.000S"^^xsd:duration ;
Eventhough Duration is managed as a datatype (exists in TypeMapper), it is not serialised at all.
Example:
Results in :
Property "Session.PROP_LAST_FOR" has only one restriction determining Duration is the expected type.