model/adapter: Represent ValueDataType as native Python type
Proposal: Use native Python types for values (of Property, Qualifier, etc.) for easier programmatic handling of those values. We can choose the correct type at deserialization using the valueType
attribute of those objects and re-create the valueType
at serialization depending on the value's type()
.
Then, we can throw away the valueType
attribute (which is redundant to the value
attribute's type) and probably replace it with a property, which would just return the value
's xsd_name
.