For the implementation of EffectiveOcurrences method of C_Object (AOM2), the function which calcuates the mutiplicityinterval, gets two string arguments : one is the reference model type name and the other is the path of the attribute. If the method should go through RM to find the cardinality of the attribute why it uses the attribute path instead of its name? Or it should only checks the Archetype definition to find the defined RM type of that attribute ? It is not clear to me in the document. Would you please clarify it by an example?
saeedsamie46
(Saeed Samie)
1
thomas.beale
(Thomas Beale)
2
This is because in a differential archetype, what you have available for most constraints is the root RM type, e.g. OBSERVATION or ELEMENT or similar, and a path at which the constraint is (see here in ADL2 spec).
Note that a single attribute is a valid ‘path’.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| modelling question on AOM | 1 | 8 | 14 October 2008 | |
| Regarding the "occurence" and "existence" attributes | 2 | 3 | 27 June 2012 | |
| {Disarmed} Interpretation of occurrence in multivalued attributes | 0 | 6 | 9 November 2008 | |
| Possible error in AOM 1.4 | 7 | 462 | 16 February 2023 | |
| ADL specification question | 6 | 19 | 30 November 2018 | |
| csingleattribute and existence | 11 | 21 | 10 January 2013 | |
| mandatory occurrences in ADL Parser | 1 | 6 | 7 September 2007 | |
| cardinality | 4 | 10 | 8 June 2007 | |
| occurrences in ARCHETYPE_INTERNAL_REF | 1 | 9 | 28 January 2007 | |
| Occurences representation in instances | 1 | 6 | 17 August 2010 |