-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
promcode domain #410
promcode domain #410
Conversation
The domain code builds. I want to first make sure a server can run before we commit. |
I didn't have time to compare the diagram in detail to the spec HTML but I saw your note about decimal being replaced by an integer. Decimal is a high precision float, higher than double. Thus, double is a natural choice for a substitute. At the same time, properties mentioned by you like |
Not sure what you mean @berezovskyi . The spec states that they are decimal, They should not be float, nor integer. Currently LyoDesigner does not support decimal, but I wanted to put something, just to get started. |
There is no such thing as a sequence of decimal numbers. Cf. https://stackoverflow.com/questions/26909331/what-are-the-limits-of-the-decimal-type-in-xml-schema-xsd |
Hi, I am an editor of PROMCODE specification. The following points are different from our intent. Could you consider our idea as follows?
|
Thank you for the work, it looks great and I have few comments as below.
|
@ShigeakiMatsumoto what is the reason for using the Decimal type as a sequence number? You can't really use equality to check if two decimals are equal. Shouldn't it be a long? Or BigInteger (XSD integer)? |
I think sequenceNumber is decimal because we just want to know the order of resources. For the purpose, integer is enough in most case. So, @ShigeakiMatsumoto mentioned, sequence number can be an integer in Lyo Designer.
|
Hi all, I hope I can do the suggested changes in coming couple of weeks. I will post something here to see if there are any other outstanding issues. |
Sorry, didn't mean to do that, hit the wrong button on the phone. Thanks Jad! |
I have now made the changes suggested by @ShigeakiMatsumoto & @hoy3! |
Thank you for the update, Jad! Class hierarchy looks fine. |
@Jad-el-khoury we have reviewed the model. It looks good to us. Thank you. |
Description
Introducing the PROMCODE domain
Checklist