1、 KS X ISO/IEC 154752 KSKSKSKS SKSKSKS KSKSKS SKSKS KSKS SKS KS CDIF 2: SYNTAX.1 KS X ISO/IEC 154752 : 2007 (2012 ) 2007 11 30 http:/www.kats.go.krKS X ISO/IEC 154752:2007 : ( ) ( ) SJ ( ) : () ( ) () TTA () TTA LG-CNS SDS ( ) KS X ISO/IEC 154752:2007 : (http:/www.standard.go.kr) : :2003 11 28 :2007
2、11 30 :2012 12 27 : 2012-0789 : ( 02-509-7262) (http:/www.kats.go.kr). 10 5 , . KS X ISO/IEC 154752 : 2007 (2012 ) CDIF 2: SYNTAX.1 Information technology CDIF transfer format Part 2 :Syntax SYNTAX.1 2002 1 ISO/IEC 154752, Information technologyCDIF transfer format Part 2:Syntax SYNTAX.1 , . 1 CDIF
3、. CDIF . / . CASE CDIF . CDIF KS X ISO/IEC 154741 . , CDIF . 1 CDIF 15474 CDIF 1: 2: 1: 2: 3: 4: 5: 6:/ n: 15476 CDIF 15475 CDIF 1: 2: SYNTAX.1 3: ENCODING.1 n: KS X ISO/IEC 154752:2007 2 1 CDIF . CDIF . CDIF . SYNTAX.1 ISO/IEC 154753:2002, Information technologyCDIF transfer formatPart 3:Encoding E
4、NCODING.1 , . CDIF , . . CDIF CDIF KS X ISO/IEC 154741 ISO/IEC 154742 CDIF CDIF . . (CASE) 2 A , KS X ISO/IEC 154741 2. CDIF . . CDIF . ISO/IEC 154753 A A CDIF . A CDIF . 3 . . ( ) . KS X ISO/IEC 154741:2007, CDIF 1: KS X ISO/IEC 154751:2007, CDIF 1: ISO/IEC 9075:1992, Information technologyDatabase
5、 languageSQL ISO/IEC 106461:1993/Amd.2:1996, Information technologyUniversal MultipleOctet Coded Character KS X ISO/IEC 154752:2007 3 Set(UCS)Part 1:Architecture and Basic Multilingual Plane. Amendment 2:UCS Transformation Format 8(UTF8) ISO/IEC 132381 1) , Information technologyData management expo
6、rt/importPart 1:Standardization framework ISO/IEC 154742:2002, Information technologyCDIF frameworkPart 2:Modelling and extensibility 4 . , . 4.1 4.1.1 KS X ISO/IEC 154741 KS X ISO/IEC 154741 . CDIF CDIF (CDIF family of standards) CDIF (CDIF graphical notation) CDIF (CDIF identifier) CDIF (CDIF sema
7、ntic metamodel) CDIF (CDIF meta-metamodel) CDIF (CDIF transfer) CDIF (CDIF transfer format) (character set) (encoding) .1(ENCODING.1) (instance) (meta-attribute) (meta-entity) (metamodel) (meta-object) (meta-relationship) (model) (non-terminal symbol) (production rule) (subject area) (syntax) .1(SYN
8、TAX.1) (terminal symbol) (transfer) (transfer format) 4.1.2 KS X ISO/IEC 154751 KS X ISO/IEC 154751 . 1) KS X ISO/IEC 154752:2007 4 (metamodel section) (transfer header) 4.1.3 ISO/IEC 132381 ISO/IEC 132381 . (transfer file) CDIF (CDIF transfer file) (export process) (exporter) (import process) (impo
9、rter) (clear text file encoding) 4.2 . ( “ ”). 5 () 5.1 CDIF( ) . , MetaAttribute( ), AttributeDerivation( ), IsDrawnUsing( ), IsOptional(). CDIF (ISO/IEC 154742). 5.2 BNF (BNF) . KS X ISO/IEC 154751 5.2 . 5.3 . BNF Backus Naur Form CDIF CASE Data Interchange Format(originally) 6 CDIF 6.1 KS X ISO/I
10、EC 154752:2007 5 SYNTAX.1 “154752” CDIF . CDIF . CDIF ID . := SYNTAX.1 := 154752:2002 6.2 “”( ) . . . . . . 7.7 . 7 CDIF 7.1 . ISO/IEC 154753 CDIF . 7.2 CDIF 7.2.1 CDIF . := 2 CDIF . . , , . 7.2.2 CDIF , , . KS X ISO/IEC 154751 CDIF . SYNTAX.1 6.1 . 7.2.3 KS X ISO/IEC 154752:2007 6 KS X ISO/IEC 1547
11、51 CDIF . . := 2 CDIF 7.3 7.3.1 . := . (:HEADER ) , CDIF CDIF KS X ISO/IEC 154752:2007 7 7.3.2 . . . . . := . := := := . ExporterName ExporterVersion ExportDate , YYYY/MM/DD ExportTime , HH:MM:SS PublisherName ( ) (:SUMMARY (ExporterName “AutoPal“) (ExporterVersion “3.2“) (ExportDate “1991/01/12“) (
12、ExportTime “13:00:00“) (PublisherName “Andrew Shilling“) (HardwarePlatform “Apple MacIntosh“) (VendorCompanyName “UltraCASE“) ) 7.4 7.4.1 . “ ” , . ISO/IEC 154742 . . KS X ISO/IEC 154752:2007 8 := . . (:META-MODEL . . ) 7.4.2 CDIF CDIF := := ! SubjectArea Name . := ! SubjectArea VersionNumber . CDIF
13、 . CDIF (:SUBJECTAREAREFERENCE Foundation (:VERSIONNUMBER “15476 1:2002”) ) 7.4.3 := | | , , . KS X ISO/IEC 154752:2007 9 7.4.4 CDIF , , ( MetaEntity, MetaRelationship, MetaAttribute SubjectArea) . := . := ! ISO/IEC 154742 . MetaEntity, MetaRelationship, MetaAttribute SubjectArea := ! CDIF CDIF . (C
14、DIFMetaIdentifier ) . . a) (SubjectArea NEW00001 . ) b) (MetaEntity ME001 . ) c) (MetaAttribute MA001 . ) d) (MetaRelationship MR001 . ) 7.4.5 (CDIFMetaIdentifier ) . := := KS X ISO/IEC 154752:2007 10 := ! ISO/IEC 154742 . 7.5.5 . a) (Name *Function*) b) (Description # .#) c) (Aliases “Business Func
15、tion, Activity“) d) (IsOptionalTrue) 7.4.6 CDIF . CollectableMetaObject.IsUsedIn.SubjectArea, MetaAttribute.IsLocalMetaAttributeOf.AttributableMetaObject, Attributable MetaObject.HasSubtype.AttributableMetaObject, MetaRelationship.HasSource.MetaEntity, MetaRelationship.HasDestination. MetaEntity . .
16、 := := ! ISO/IEC 154742 . := := := := := KS X ISO/IEC 154752:2007 11 := a) (MetaAttribute.IsLocalMetaAttributeOf.AttributableMetaObject MYID002 XYZ001) ! CDIFMetaIdentifier MYID002 MetaAttribute CDIFMetaIdentifier XYZ001 MetaEntity MetaRelationship . b) (CollectableMetaObject.IsUsedIn.SubjectArea MA
17、TT006 SUBJ001) 7.4.7 := . := ! MetaAttribute . MetaAttribute . (:EXTENDMETA-ATTRIBUTE MA001 (,) 7.5 7.5.1 ( ) . CDIF MetaEntity MetaRelationship . , . CDIF , . CDIFIdentifier . . ( ) . KS X ISO/IEC 154752:2007 12 := . := | (:MODEL . ) 7.5.2 ( ) ( ) . := . := := (DataModel MOD01 . 7.5.3 MetaRelations
18、hip( ) , , , , ( ) . . := . := KS X ISO/IEC 154752:2007 13 := := := !, . := := := := (DataModel.IsCollectionOf.DataModelObject R001 MOD01 ENT02) 7.5.4 (CDIFIdentifier ) ( ) . : := (Name ) 7.5.5 7.5.5.1 := | | | | | | | | | | | | 7.5.5.2 . / . KS X ISO/IEC 154752:2007 14 . := := := := . := := := := .
19、 a) :BITMAP :HEIGHT 2 :WIDTH 2 (120,50,35),(130,80,70), (100,28,231),(111,255,0) b) :BITMAP :HEIGHT 1 :WIDTH 2 (120,50,35),(130,80,70) c) :BITMAP :HEIGHT 2 :WIDTH 2 (255,255,255),(255,255,255), (255,255,255),(255,255,255) d) :BITMAP (120,50,35),(130,80,70), (100,28,231),(111,255,0): . e) :HEIGHT 1 :
20、WIDTH 2 (120,50,35),(130,80,70): . 7.5.5.3 (Boolean value) := | . a) -TRUE- b) -FALSE- 7.5.5.4 := := | | KS X ISO/IEC 154752:2007 15 . a) :DATE 1940/12/07 Absolute b) :DATE 1920/07/20 : . c) :DATE 0002/10/11 RelativePositive d) 1940/12/07 Absolute : . 7.5.5.5 := ! . . 7.5.5.6 10 2 16 10 1023 10 1023
21、 . := ! . . a) #f4E9 b) #f123.45E2 c) #f-123.45E15 d) #f+0.23E5 e) #f0.23E-3 f) #f0.23E+3 7.5.5.7 := ! . . *johnBrownsBody* 7.5.5.8 10, 2, 16, 8 . := | | | KS X ISO/IEC 154752:2007 16 . a) #d12345 10 b) #d-12345 10 c) #d+12345 10 d) #b10101 2 e) #b-10101 2 f) #o31727 8 g) #o-31727 8 h) #h1e2cf 16 i)
22、 #hffffffff 16 j) #h-ffffffff 16 7.5.5.9 := . . a) :INTEGERLIST (#d10, #d20, #d11, #d15, #d26, #d32) b) :INTEGERLIST (#b10101, #h32fe, #o37712) c) :INTEGERLIST (#d10, #d2.4) :2.4 . d) (#d10, #d20, #d11, #d15, #d32) : . 7.5.5.10 x, y, z . := := := := := . KS X ISO/IEC 154752:2007 17 a) :POINT(0 0 0) b) :POINT(1 303 292) c) :POINT(20 30) :3 . d) :POINT(qq eo 50) : . 7.5.5.11 . := . := . a) :POINTLIST (0 0 0), (1 1 1), (3 3 3) b) :POINTLIST (1 303 292),(321 22 33) c) :POINTLIST 12)