[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[emf-dev] Types support

Title: Types support

I was trying to build an emf model from the following Schema, which contains simple type number, derived from integer. To my surprise, the model, generated from this schema, contained Number with the element value of type string. Thus the implementation of the number class is using string as a value type. Is it a bug or a feature?


<<iaaxml.xsd>> <<com.ibm.industries.financialservices.iaaxml.ecore>> <<NumberImpl.java>>

Attachment: iaaxml.xsd
Description: iaaxml.xsd

Attachment: com.ibm.industries.financialservices.iaaxml.ecore
Description: com.ibm.industries.financialservices.iaaxml.ecore

Attachment: NumberImpl.java
Description: NumberImpl.java