1、 Reference numberISO/IEC 15474-2:2002(E)ISO/IEC 2002Information technology CDIF framework Part 2: Modelling and extensibility Technologies de linformation Cadre de rfrence CDIF Partie 2: Modlisation et extension National Standard of CanadaCAN/CSA-ISO/IEC 15474-2:04(ISO/IEC 15474-2:2002)International
2、 Standard ISO/IEC 15474-2:2002 (first edition, 2002-10-15) has been adopted without modification(IDT) as CSA Standard CAN/CSA-ISO/IEC 15474-2:04, which has been approved as a National Standard of Canadaby the Standards Council of Canada.ISBN 1-55397-374-7 January 2004The Canadian Standards Associati
3、on (CSA), The Standards Council of Canada is theunder whose auspices this National Standard has been coordinating body of the National Standards system, produced, was chartered in 1919 and accredited by a federation of independent, autonomousthe Standards Council of Canada to the National organizati
4、ons working towards the furtherStandards system in 1973. It is a not-for-profit, development and improvement of voluntarynonstatutory, voluntary membership association standardization in the national interest.engaged in standards development and certification The principal objects of the Council are
5、 to foster activities. and promote voluntary standardization as a means CSA standards reflect a national consensus of of advancing the national economy, benefiting theproducers and users including manufacturers, health, safety, and welfare of the public, assisting consumers, retailers, unions and pr
6、ofessional and protecting the consumer, facilitating domestic organizations, and governmental agencies. The and international trade, and furthering internationalstandards are used widely by industry and commerce cooperation in the field of standards.and often adopted by municipal, provincial, and A
7、National Standard of Canada is a standard whichfederal governments in their regulations, particularly in has been approved by the Standards Council ofthe fields of health, safety, building and construction, Canada and one which reflects a reasonableand the environment. agreement among the views of a
8、 number of capableIndividuals, companies, and associations across individuals whose collective interests provide to theCanada indicate their support for CSAs standards greatest practicable extent a balance ofdevelopment by volunteering their time and skills to representation of producers, users, con
9、sumers, andCSA Committee work and supporting the Associations others with relevant interests, as may be appropriateobjectives through sustaining memberships. The more to the subject in hand. It normally is a standardthan 7000 committee volunteers and the 2000 which is capable of making a significant
10、 and timelysustaining memberships together form CSAs total contribution to the national interest.membership from which its Directors are chosen. Approval of a standard as a National Standard ofSustaining memberships represent a major source of Canada indicates that a standard conforms to theincome f
11、or CSAs standards development activities. criteria and procedures established by the StandardsThe Association offers certification and testing Council of Canada. Approval does not refer to theservices in support of and as an extension to its technical content of the standard; this remains thestandar
12、ds development activities. To ensure the continuing responsibility of the accreditedintegrity of its certification process, the Association standards-development organization.regularly and continually audits and inspects products Those who have a need to apply standards arethat bear the CSA Mark. en
13、couraged to use National Standards of CanadaIn addition to its head office and laboratory complex whenever practicable. These standards are subject in Toronto, CSA has regional branch offices in major to periodic review; therefore, users are cautioned centres across Canada and inspection and testing
14、 to obtain the latest edition from the organizationagencies in eight countries. Since 1919, the preparing the standard.Association has developed the necessary expertise to The responsibility for approving National Standards meet its corporate mission: CSA is an independent of Canada rests with these
15、rvice organization whose mission is to provide an Standards Council of Canadaopen and effective forum for activities facilitating the 270 Albert Street, Suite 200exchange of goods and services through the use of Ottawa, Ontario, K1P 6N7standards, certification and related services to meet Canadanati
16、onal and international needs.For further information on CSA services, write toCanadian Standards Association5060 Spectrum Way, Suite 100Mississauga, Ontario, L4W 5N6CanadaAlthough the intended primary application of this Standard is stated in its Scope, it is importantto note that it remains the res
17、ponsibility of the users to judge its suitability for their particular purpose.Registered trade-mark of Canadian Standards AssociationCAN/CSA-ISO/IEC 15474-2:04 Part 2: Modelling and extensibilityInformation technology CDIF framework January 2004 Canadian Standards Association CSA/1CAN/CSA-ISO/IEC 1
18、5474-2:04Information technology CDIF framework Part 2: Modelling and extensibilityCSA PrefaceStandards development within the Information Technology sector is harmonized with international standardsdevelopment. Through the CSA Technical Committee on Information Technology (TCIT), Canadians serveas t
19、he Canadian Advisory Committee (CAC) on ISO/IEC Joint Technical Committee 1 on InformationTechnology (ISO/IEC JTC1) for the Standards Council of Canada (SCC), the ISO member body for Canadaand sponsor of the Canadian National Committee of the IEC. Also, as a member of the InternationalTelecommunicat
20、ion Union (ITU), Canada participates in the International Telegraph and TelephoneConsultative Committee (ITU-T).This International Standard was reviewed by the CSA TCIT under the jurisdiction of the Strategic SteeringCommittee on Information Technology and deemed acceptable for use in Canada. (A com
21、mitteemembership list is available on request from the CSA Project Manager.) From time to time, ISO/IEC maypublish addenda, corrigenda, etc. The CSA TCIT will review these documents for approval and publication.For a listing, refer to the CSA Information Products catalogue or CSA Info Update or cont
22、act a CSA Salesrepresentative. This Standard has been formally approved, without modification, by the TechnicalCommittee and has been approved as a National Standard of Canada by the Standards Council of Canada.January 2004 Canadian Standards Association 2004All rights reserved. No part of this publ
23、ication may be reproduced in any form whatsoever without the prior permission of thepublisher. ISO/IEC material is reprinted with permission. Where the words “this International Standard” appear in the text,they should be interpreted as “this National Standard of Canada”. Inquiries regarding this Na
24、tional Standard of Canada should be addressed to Canadian Standards Association 5060 Spectrum Way, Suite 100, Mississauga, Ontario, Canada L4W 5N6 1-800-463-6727 416-747-4044www.csa.caReference numberISO/IEC 15474-2:2002(E)ISO/IEC 2002INTERNATIONAL STANDARD ISO/IEC15474-2First edition2002-10-15Infor
25、mation technology CDIF framework Part 2: Modelling and extensibility Technologies de linformation Cadre de rfrence CDIF Partie 2: Modlisation et extension ISO/IEC 15474-2:2002(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be
26、 printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts
27、no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure that the fi
28、le is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below. ISO/IEC 2002 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any
29、form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or ISOs member body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749
30、09 47 E-mail copyrightiso.org Web www.iso.org ii ISO/IEC 2002 All rights reservedISO/IEC 15474-2:2002(E) ISO/IEC 2002 All rights reserved iiiContents 1 Scope . 1 2 Conformance . 2 3 Normative references. 2 4 Terms and definitions 3 4.1 From other standards 3 4.1.1 ISO/IEC 15474-1 . 3 4.1.2 ISO/IEC 1
31、3238-1 . 3 4.2 For this standard . 3 5 Symbols (and abbreviated terms). 4 5.1 Naming and diagramming conventions . 4 5.2 Abbreviations 4 6 CDIF meta-metamodel concepts and facilities. 4 6.1 Introduction . 4 6.2 Modelling approach. 4 6.2.1 Introduction . 4 6.2.2 Subject areas. 5 6.2.3 Many-to-many me
32、ta-relationships 5 6.2.4 Attributed meta-relationships. 5 6.2.5 Subtyping of meta-entities 5 6.2.6 Multiple inheritance in meta-entities. 6 6.2.7 Subtyping of meta-relationships 7 6.2.8 Multiple inheritance of meta-relationships. 8 6.2.9 Arity of meta-relationships 8 6.2.10 Mutual exclusivity of met
33、a-relationships 8 6.3 Subject areas. 8 6.3.1 Explicit and implicit use of CollectableMetaObjects in subject areas 8 6.3.2 Rules for defining subject area. 9 6.3.3 Working metamodel 10 6.3.4 Subject area diagrams 10 6.4 Metamodel extensibility 10 6.4.1 Introduction . 10 6.4.2 Extensibility. 11 6.5 Ex
34、porter responsibilities. 12 6.5.1 Introduction . 12 6.5.2 Extensibility. 12 6.5.3 Maximum output 12 6.5.4 Meta-attributes. 12 6.6 Importer responsibilities. 12 6.6.1 Introduction . 12 6.6.2 Information retention. 12 6.6.3 Working metamodel 12 6.6.4 Meta-attributes. 13 7 Modelling conventions 13 7.1
35、Naming of meta-objects 13 7.1.1 Names 13 7.1.2 Uniqueness of names 13 7.2 Meta-object graphical notation . 13 7.2.1 Introduction . 13 7.2.2 Meta-entity symbol 14 ISO/IEC 15474-2:2002(E) iv ISO/IEC 2002 All rights reserved 7.2.3 Meta-relationship symbol 14 7.2.4 Meta-relationship cardinality symbol .
36、 15 7.2.5 Meta-entity subtype hierarchy symbol . 16 7.2.6 Meta-relationship subtype hierarchy 16 7.2.7 Mutual exclusivity of meta-relationships . 17 7.2.8 Instance diagrams. 17 7.3 Meta-object definition format 19 7.3.1 Introduction . 19 7.3.2 Subject area definition 19 7.3.3 Meta-entity definition.
37、 20 7.3.4 Meta-attribute definition 21 7.3.5 Meta-relationship definition 22 7.4 Meta-object reference format 23 7.5 Meta-object summary format 24 7.5.1 Introduction . 24 7.5.2 AttributableMetaObject classification hierarchy 24 7.5.3 MetaEntity and MetaRelationship summaries 24 8 Meta-metamodel over
38、view 25 8.1 Introduction . 25 8.2 Meta-metamodel description 25 8.3 Meta-metamodel diagram 26 9 Meta-metamodel summary 26 9.1 AttributableMetaObject classification hierarchy 26 9.1.1 Introduction . 26 9.1.2 Classification hierarchy 27 9.2 Meta-meta-entity summary . 27 9.3 Meta-meta-relationship summ
39、ary . 29 10 Meta-metamodel specification 30 10.1 Data types specification 30 10.1.1 Introduction . 30 10.1.2 Boolean 30 10.1.3 Date 30 10.1.4 Enumerated . 30 10.1.5 Float . 31 10.1.6 Identifier. 31 10.1.7 Integer 31 10.1.8 Point. 31 10.1.9 String . 31 10.1.10 Text 31 10.1.11 Time . 31 10.2 Meta-meta
40、-entity and Meta-meta-attribute specifications . 32 10.2.1 AttributableMetaObject . 32 10.2.2 CollectableMetaObject 33 10.2.3 MetaAttribute. 33 10.2.4 MetaEntity 35 10.2.5 MetaObject. 36 10.2.6 MetaRelationship. 39 10.2.7 SubjectArea . 41 10.3 Meta-meta-relationship specifications . 42 10.3.1 Attrib
41、utableMetaObject.HasSubtype.AttributableMetaObject . 42 10.3.2 CollectableMetaObject.IsDefinedIn.SubjectArea . 43 10.3.3 CollectableMetaObject.IsUsedIn.SubjectArea 44 10.3.4 MetaAttribute.IsLocalMetaAttributeOf.AttributableMetaObject. 45 10.3.5 MetaRelationship.HasDestination.MetaEntity 45 10.3.6 Me
42、taRelationship.HasSource.MetaEntity. 46 ISO/IEC 15474-2:2002(E) ISO/IEC 2002 All rights reserved vTable of Illustrations Figure 1 CDIF family of standards 1 Figure 2 Multiple inheritance 6 Figure 3 Multiple inheritance: Invalid meta-attribute, Z1 7 Figure 4 Example of CDIF graphical notation 14 Figu
43、re 5 The meta-entity symbol 14 Figure 6 The meta-relationship symbol 15 Figure 7 A Reflexive meta-relationship 15 Figure 8 The Meta-relationship cardinality symbol 15 Figure 9 The Meta-entity subtype hierarchy symbol 16 Figure 10 The Meta-entity subtype hierarchy symbol: Multiple inheritance 16 Figu
44、re 11 Mutual exclusivity of meta-relationships 17 Figure 12 Conceptual Diagram and an Instance Diagram 18 Figure 13 The CDIF meta-metamodel 26 Table of Tables Table 1 Inheritance of meta-meta-attribute values by subtype meta-entities 6 Table 2 Inheritance of meta-meta-attribute values by subtype met
45、a-relationships 8 Table 3 Contents of subject area definition 19 Table 4 Contents of meta-entity definition 20 Table 5 Contents of meta-attribute definition 21 Table 6 Contents of meta-relationship definition 22 Table 7 Contents of meta-entity references 23 Table 8 Contents of meta-relationship refe
46、rences 23 Table 9 Data types supported by CDIF 30 ISO/IEC 15474-2:2002(E) vi ISO/IEC 2002 All rights reserved Foreword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National
47、bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Oth
48、er international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. International Standards are drafted in accordance with the rule
49、s given in the ISO/IEC Directives, Part 3. The main task of the joint technical committee is to prepare International Standards. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. Attention is drawn to the possibility that some of the elements of this part of ISO/IEC 15474 may be the subject of