この規格ページの目次
8
X 0138-2 : 2004 (ISO/IEC 15475-2 : 2002)
<SubjectAreaReferenceKeyword>
<SubjectAreaName>
<OpenScope>
<VersionNumberKeyword>
<SubjectAreaVersionNumber>
<CloseScope>
<CloseScope>
<SubjectAreaName> ::= <MetaObjectName>
!!<SubjectAreaName> must be the value of the Name
meta-meta-attribute of the relevant SubjectArea instance.
<SubjectAreaVersionNumber> ::=
<String>
!! <SubjectAreaVersionNumber> must be the value of the
VersionNumber meta-meta-attribute of the relevant SubjectArea
instance. A reference to at least one CDIF Subject Area must be
included in the metamodel section.
CDIF対象分野参照の例を次に示す。
(:SUBJECTAREAREFERENCE Foundation
(:VERSIONNUMBER "15476-1:2002")
)
7.4.3 メタモデル拡張 メタモデル拡張の構文は,次のとおり規定する。
<MetaModelExtensionClause> ::=
<MetaMetaEntityInstance>
| <MetaMetaRelationshipInstance>
| <EnumeratedMetaAttributeExtension>
構文では,メタメタ実体インスタンス,メタメタ関係インスタンス及び列挙されたメタ属性拡張を任意
の順番に置いてよいが,一つの転送の中では前方参照は許されない。
7.4.4 メタメタ実体インスタンス メタメタ実体インスタンスは,メタメタ実体の名称(例えば,
MetaEntity , MetaRelationship , MetaAttribute 又は SubjectArea )に続き,インスタンスのための
一意のCDIFメタ識別子,メタメタ実体のための他のメタメタ属性の名称及び値によって指定する。
メタメタ実体インスタンスの構文は,次のとおり規定する。
<MetaMetaEntityInstance> ::=
<OpenScope>
<MetaMetaEntityName> <CDIFMetaIdentifier>
[ <MetaMetaAttributeInstance> ] ...
<CloseScope>
<MetaMetaEntityName> ::=
<MetaMetaObjectName>
!! <MetaMetaEntityName> must be the name of a meta-meta-entity,
as defined in ISO/IEC 15474-2, e.g., MetaEntity, MetaRelationship,
――――― [JIS X 0138-2 pdf 11] ―――――
9
X 0138-2 : 2004 (ISO/IEC 15475-2 : 2002)
MetaAttribute or SubjectArea.
<CDIFMetaIdentifier> ::=
<Identifier>
!! CDIF meta-identifiers beginning with a numeric character are reserved
for use in the CDIF semantic metamodel.
メタメタ属性インスタンスは,メタメタ実体の各々の( CDIFMetaIdentifier メタメタ属性以外の)メ
タメタ属性を表現するために使用する。< MetaMetaAttributeInstance >は,7.4.5で規定する。
メタメタ実体インスタンスの幾つかの例を次に示す。
1) (SubjectArea NEW00001 [ <MetaMetaAttributeInstance> ] ... )
2) (MetaEntity ME001
[ <MetaMetaAttributeInstance> ] ...
)
3) (MetaAttribute MA001
[ <MetaMetaAttributeInstance> ] ...
)
4) (MetaRelationship MR001
[ <MetaMetaAttributeInstance> ] ...
)
7.4.5 メタメタ属性インスタンス ( CDIFMetaIdentifier メタメタ属性以外の)メタメタ属性インス
タンスは,メタメタ属性の名称に続き,その値から構成する列によって指定する。
メタメタ属性インスタンスの構文は,次のとおり規定する。
<MetaMetaAttributeInstance> ::=
<OpenScope>
<MetaMetaAttributeName> <MetaMetaAttributeValue>
<CloseScope>
<MetaMetaAttributeName> ::=
<MetaMetaObjectName>
<MetaMetaAttributeValue> ::=
<MetaAttributeValue>
!! <MetaMetaAttributeName> must be the name of a meta-meta-attribute
associated with the meta-meta-entity, as defined in ISO/IEC 15474-2.
< MetaAttributeValue >は,7.5.5のメタ属性値で規定する。
メタメタ属性インスタンスの幾つかの例を次に示す。
1) (Name *Function*)
2) (Description #[This defines a Business Function which is associated with a
particular Process or Processes in a Data Flow Model]#)
3) (Aliases "Business Function,Activity")
4) (IsOptional -True-)
7.4.6 メタメタ関係インスタンス メタメタ関係インスタンスは,メタメタ関係の名称及び関係元及び
関係先のメタメタ実体のCDIFメタ識別子で構成する列によって指定する。
――――― [JIS X 0138-2 pdf 12] ―――――
10
X 0138-2 : 2004 (ISO/IEC 15475-2 : 2002)
CollectableMetaObject.IsUsedIn.SubjectArea ,
MetaAttribute.IsLocalMetaAttributeOf.AttributableMetaObject ,
AttributableMetaObject.HasSubtype.AttributableMetaObject ,
MetaRelationship.HasSource.MetaEntity ,MetaRelationship.HasDestination.MetaEntity は,メタメタ
関係の完全名である。
メタモデル部の中で後ろの方に規定するメタメタ実体への前方参照があってはならない。
メタメタ関係インスタンスの構文は,次のとおり規定する。
<MetaMetaRelationshipInstance> ::=
<OpenScope>
<FullMetaMetaRelationshipName>
<SourceMetaMetaEntityCDIFMetaIdentifier>
<DestinationMetaMetaEntityCDIFMetaIdentifier>
<CloseScope>
<FullMetaMetaRelationshipName> ::=
<SourceMetaMetaEntityName> <Dot>
<MetaMetaRelationshipName> <Dot>
<DestinationMetaMetaEntityName>
!! <FullMetaMetaRelationshipName> must be the full name of a
meta-meta-relationship, as defined in ISO/IEC 15474-2.
<SourceMetaMetaEntityName> ::=
<MetaMetaObjectName>
<MetaMetaRelationshipName> ::=
<MetaMetaObjectName>
<DestinationMetaMetaEntityName> ::=
<MetaMetaObjectName>
<SourceMetaMetaEntityCDIFMetaIdentifier> ::=
<CDIFMetaIdentifier>
<DestinationMetaMetaEntityCDIFMetaIdentifier> ::=
<CDIFMetaIdentifier>
<CDIFMetaIdentifier> ::= <Identifier>
メタメタ関係インスタンスの幾つかの例を次に示す。
1) (MetaAttribute.IsLocalMetaAttributeOf.AttributableMetaObject
MYID002 XYZ001)
!! This adds a meta-meta-relationship instance to make the MetaAttribute
with CDIFMetaIdentifier MYID002 a local meta-attribute of the MetaEntity
or MetaRelationship with CDIFMetaIdentifier XYZ001.
2) (CollectableMetaObject.IsUsedIn.SubjectArea
MATT006 SUBJ001)
7.4.7 列挙メタ属性拡張 列挙メタ属性拡張の構文は,次のとおり規定する。
<EnumeratedMetaAttributeExtension> ::=
――――― [JIS X 0138-2 pdf 13] ―――――
11
X 0138-2 : 2004 (ISO/IEC 15475-2 : 2002)
<OpenScope>
<ExtendMetaAttributeKeyword> <CDIFMetaIdentifier>
<OpenScope>
<EnumeratedValue>
[<EnumeratedSeparator>
<EnumeratedValue>]...
<CloseScope>
<CloseScope>
<CDIFMetaIdentifier> ::= <Identifier>
!! <CDIFMetaIdentifier> must identify a MetaAttribute with Enumerated
data type defined in the standardized model or earlier in the metamodel
Extension Clause. The Enumerated Values are appended to those values that
have already been defined for the MetaAttribute.
列挙メタ属性拡張の例を次に示す。
(:EXTENDMETA-ATTRIBUTE MA001 (<Encrypted>,<Nonencrypted>))
7.5 モデル部
7.5.1 導入
モデル部は,属性付け可能なメタオブジェクト(つまり,オブジェクトの型) への参照及び
実際のモデルデータを含む。ここで参照するオブジェクトの型は,CDIF対象分野参照の部分としてのメ
タモデル部又はメタモデル拡張で規定するMetaEntity 及び MetaRelationship のインスタンスとする。
モデルデータは,メタ実体インスタンス,メタ関係インスタンス及びメタ属性インスタンスの形とする。
モデルの転送機構として,ここではメタモデルの概念のインスタンスを含む。 CDIF意味メタモデルで
規定するこれらの概念とこの構文との間のマッピングは,明白であるので簡潔に説明する。
モデル部のすべてのメタ実体及びメタ関係インスタンスは,一意に CDIFIdentifier メタ属性によって
識別する。 移出者は,これらの識別子の一意性を保証する責任をもつ。移入者は,(成功又は失敗して)
移入プロセスを完了したとき,それらを維持しなくてもよい。
モデル部の構文は,次のとおり規定する。
<ModelSectionClause> ::= <OpenScope>
<ModelKeyword> <ObjectClause>...
<CloseScope>
<ObjectClause> ::=
<MetaEntityInstance> | <MetaRelationshipInstance>
モデル部の例を次に示す。
(:MODEL <ObjectClause> ... )
7.5.2 メタ実体インスタンス
メタ実体のインスタンスは,(メタモデルで規定する)メタ実体の名称及
びメタ実体インスタンスの一意の識別子から構成する列に続き,(メタモデルで規定する)メタ実体のメタ
属性の名称と値によって指定する。
メタ実体インスタンスの構文は,次のとおり規定する。
<MetaEntityInstance> ::= <OpenScope>
<MetaEntityName> <CDIFIdentifier>
[ <MetaAttributeInstance> ] ...
――――― [JIS X 0138-2 pdf 14] ―――――
12
X 0138-2 : 2004 (ISO/IEC 15475-2 : 2002)
<CloseScope>
<MetaEntityName> ::=
<MetaObjectName>
<CDIFIdentifier> ::=
<Identifier>
メタ実体インスタンスの例を次に示す。
(DataModel MOD01 [ <MetaAttributeInstance> ... ] )
7.5.3 メタ関係インスタンス
メタ関係のインスタンスは,(メタモデルで規定する)MetaRelationship
の名称,そのインスタンスの一意の識別子,関係元のメタ実体識別子,関係先のメタ実体識別子並びに(メ
タモデルで規定する)メタ関係のメタ属性の名称及び値から構成する列によって指定する。
モデル部の中で後に規定するメタメタ属性への前方参照があってはならない。
メタ関係インスタンスの構文は,次のとおり規定する。
<MetaRelationshipInstance> ::=
<OpenScope>
<FullMetaRelationshipName>
<MetaRelationshipCDIFIdentifier>
<SourceMetaEntityCDIFIdentifier>
<DestinationMetaEntityCDIFIdentifier>
[ <MetaAttributeInstance> ] ...
<CloseScope>
<FullMetaRelationshipName> ::=
<SourceMetaEntityName> <Dot>
<MetaRelationshipName> <Dot>
<DestinationMetaEntityName>
<SourceMetaEntityName> ::=<MetaObjectName>
<MetaRelationshipName> ::=<MetaObjectName>
<DestinationMetaEntityName> ::=
<MetaObjectName>
!!<SourceMetaEntityName>, <MetaRelationshipName> and <DestinationMetaEntityName> must be
the names used in the definition of the meta-relationship.
<MetaRelationshipCDIFIdentifier> ::=
<CDIFIdentifier>
<SourceMetaEntityCDIFIdentifier> ::=
<CDIFIdentifier>
<DestinationMetaEntityCDIFIdentifier> ::=
<CDIFIdentifier>
<CDIFIdentifier> ::=
<Identifier>
メタ関係インスタンスの例を次に示す。
(DataModel.IsCollectionOf.DataModelObject R001 MOD01 ENT02)
――――― [JIS X 0138-2 pdf 15] ―――――
次のページ PDF 16
JIS X 0138-2:2004の引用国際規格 ISO 一覧
- ISO/IEC 15475-2:2002(IDT)
JIS X 0138-2:2004の国際規格 ICS 分類一覧
JIS X 0138-2:2004の関連規格と引用規格一覧
- 規格番号
- 規格名称