[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: New UML diagram based on WD31 schema - for Sept 25 TC meeting
All --
Copying the list - this is for the agenda for today. Since sending the email below (and the attached diagram) I realized several things: (a) All attributes in XSD are optional; the Enterprise Architect UML tooling I use doesn't get this right on import. (b) Are attributes 0..1 or 0..*? Clearly 0 (optional) is the lower bound. (c) If there are no attributes expressed, there's still an Obj instance. Is this right? Are there needed constraints? (d) Optionality and emptiness: if there's no ts attribute, there's no tagspace applied. If there is, should ts be initialized? (e) What's the difference between the absence of (say) "writable" and having "writable" exist and initialized to false? (f) UML basic types should be used in UML; the mix of XSD and UML types is a bit strained. Key places are the dateTime/etc areas - I've solved this in the UML for the WS-Calendar PIM by conformed strings, so they're all of type String. In XSD they're specific types. (g) The places where an attribute is required AND initialized (see Str - val: String = "" as initial value) seem odd; in what sense does initialization apply, and what does it mean during the transition from "nothingness to being"? Talk to you at the meeting shortly. Thanks! bill -- William Cox
On 9/24/14 11:46 PM, William Cox wrote:Email: wtcox@CoxSoftwareArchitects.com Web: http://www.CoxSoftwareArchitects.com +1 862 485 3696 mobile Craig and Toby -- |
Attachment:
Obj and Subclasses.png
Description: PNG image
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]