Upload
curtis-davidson
View
226
Download
0
Tags:
Embed Size (px)
Citation preview
Framework for Metamodel Interoperability ( MMF )
ISO/IEC19763-1,2,3,4 ( Draft CD/WD )
for discussion
ISO/IEC/JTC1/SC32/WG2 meeting
Washington DC
2004.11.09
Masaharu Obayashi
Changes at 2nd (draft) CD CD reviewed and revised based on 1st CD comments and resolutions,
also discussion with experts Change inheritance from MDR and MOF
Administered Item from MDR Avoid direct inheritance from MOF
Change package structure Divide normative and informative Harmonize metamodel with Ontology (part 3) and Mapping (part 4)
Specification reviewed and redefined for affect of above changes
Scope
This part of ISO/IEC 19763 applies to activities including: A business object is an object that is identified in building a
reusable model of business or a reusable software component that should support interoperability within an enterprise or in the trade between enterprises.
To identify and define a concrete object, firstly concepts in the modeling target domain must be put in order, and secondly the meaning of business objects that are picked up from those concepts should be defined exactly with the relationships among the business objects.
Scope (objectives) inter-enterprise connection
– Using standardized business objects, inter-enterprise connection among customers, trading partners and business partners would be available. In addition, if a compliant model that is created based on common business objects were adopted, the interoperability among the subsystems of each section of an enterprise would be maintained in the ease way.
standardization for core models – As a standard model among enterprises or in an industry, if business
objects and core models were defined independent of any particular platform, the development of components and tools conforming standard functions or interoperability would be enabled. Then, the solution business by vendors would be promoted.
stability and reusability of a standard model– In some cases, the lifecycle of a business application may be longer than
one of hardware or platform. If a business application were built based on a business object model that was independent of any particular platform, remaking the same application on a new hardware or a particular platform would be easy and flexible by generating the code of its application from the model. Much of the maintenance cost of the lifecycle could be reduced.
Messages Developing sharable model is best promoted through accumulation of
Metamodels and Ontologies Metadata about target could be also registered as a Metamodel including
metaclasses and attributes Registry must be defined with separated from target
MMF works to manage Granularity, Scale, and Context Using ‘Components’ to express Context Define Concepts with Components from different scales and methodologies
‘Signs’ must be separated from Concepts ‘Concepts governs Instances’ (e.g. “is-kind-of” = “governs” )
– “Employee is a kind of person” means“The model of all employees governs the model of persons”
Bridging scales and context with Ontologies and Mappings Linking Ontologies to integrate or to map Metamodel and model
Framework of Registering (1) Sign-Concept-Referents
Sign• a symbol designating a named element in a namespace.• Namespace is a collection of signs
Concept• specify meaning of sign.• generally expressed with sign.
Referents• a set of instance of the Concept designated by a sign.
Selectiona result of selecting a set of model instance from referents designated by
a sign.
H u m a n t h i n k i n g
R e f e r e n t ( o f t h e m o d e l
g o v e r n e d b y t h e m e t a m o d e l s )
C o n c e p t s ( e x p r e s s e d b y
m e t a m o d e l s i n d o m a i n )
U n i v e r s e o f D i s c o u r s e
U n i v e r s e o f D i s c o u r s e
a b s t r a c t i o n
S i g n( e v o k i n g
C o n c e p t s )
e v o k e s
r e f e r s t os t a n d s f o r
M a c h i n e r e a d a b l e m o d e l
Framework of Registering (2) Model Concept-Model Domain-Model Instance
Model Concept (Sign)• designate a named element in a namespace.• Namespace is a collection of signs defined by a submitted organization• Signs should be unique within the particular Namespace
Model Domain (Concept)• specify meaning of the sign.• Model Classifier of Model Domain is generally expressed with the sign.• A sign is corresponding to a Model classifier• The meaning of Model Domain is provided by Model Profile
Model Instances (Referents)• a set of instance of the Concept designated by the sign.• governed by Model Domain• should satisfy the constraints concerning the Model Domain.
Model SelectionModel Selection is a result of selecting a set of model instances from Model
Instances designated by a sign.
Model Domain
Namespace
Model Concept
Model Selection
Model Instance
Model Components (Lower Model)
Model Components (Lower Model)
Named Element Model Classifier conceptsign
specified bywithin
referent
Model Components
Model Profile (Upper Model)
Model Specification
defineshas
governs
Basic Scheme of Target Objects
Target Objects World Structure of Registered Target Objects
Multi-forest• There are many SDOs and organizations that will register a Model
profile• There will be many kinds of Model profile developed by SDOs• A set of Model profiles may be registered as a family
Multi-layer• A Model classifier in a Model profile governs a Model instances• A Model component in Model instances may be also registered as
another Model classifier in the same Model profile or the other one.
Multi-component• A Model classifier may consist of elements including external
objects that are selected from in another registered Model instances
Model Profile (Upper Model)
Model Components (Lower Model)
Model Components (Lower Model)
Employee
AddressPerson
Persons at J-Company Addresses at A-district
Persons at K-company Addresses at B-district
Target Objects (Simple)
Model Classifier
Model Instance
Model Domain
Manager
Staff
Office
Home
governing
Model Profile (Upper Model)
Model Components (Lower Model)
Model Components (Lower Model)
Employee
AddressPerson
Employees at J-Company
Employees at K-company
Target Objects (Composed)
Model Classifier
Manager
Staff
Office
Home
Model Domain
Model Instance
governing
H u m a n t h i n k i n g
R e f e r e n t ( o f t h e m o d e l
g o v e r n e d b y t h e m e t a m o d e l s )
C o n c e p t s ( e x p r e s s e d b y
m e t a m o d e l s i n d o m a i n )
U n i v e r s e o f D i s c o u r s e
U n i v e r s e o f D i s c o u r s e
a b s t r a c t i o n
S i g n( e v o k i n g
C o n c e p t s )
e v o k e s
r e f e r s t os t a n d s f o r
M a c h i n e r e a d a b l e m o d e l
Model Profile (Upper Model)
Model Components (Lower Model)
Model Components (Lower Model)
Model Classifier Registered Target Objects (Simple)
Model Domain
Model Instance
Model Concept
governing
H u m a n t h i n k i n g
R e f e r e n t ( o f t h e m o d e l
g o v e r n e d b y t h e m e t a m o d e l s )
C o n c e p t s ( e x p r e s s e d b y
m e t a m o d e l s i n d o m a i n )
U n i v e r s e o f D i s c o u r s e
U n i v e r s e o f D i s c o u r s e
a b s t r a c t i o n
S i g n( e v o k i n g
C o n c e p t s )
e v o k e s
r e f e r s t os t a n d s f o r
M a c h i n e r e a d a b l e m o d e l
Model Components (Lower Model)
Model Components (Lower Model)
Model Profile (Upper Model)Model Classifier
Registered Target Objects (Composed)
Model Domain
Model Instance
Model Concept
governing
H u m a n t h i n k i n g
R e f e r e n t ( o f t h e m o d e l
g o v e r n e d b y t h e m e t a m o d e l s )
C o n c e p t s ( e x p r e s s e d b y
m e t a m o d e l s i n d o m a i n )
U n i v e r s e o f D i s c o u r s e
U n i v e r s e o f D i s c o u r s e
a b s t r a c t i o n
S i g n( e v o k i n g
C o n c e p t s )
e v o k e s
r e f e r s t os t a n d s f o r
M a c h i n e r e a d a b l e m o d e l
M o d e l C o m p o n e n t s ( L o w e r M o d e l ) M o d e l C o m p o n e n t s ( L o w e r M o d e l )
M o d e l P r o f i l e ( U p p e r M o d e l )M o d e l C l a s s i f i e r
R e g i s t e r e d T a r g e t O b j e c t s ( C o m p o s e d )
M o d e l D o m a i n
M o d e l I n s t a n c e
M o d e l C o n c e p t
g o v e r n i n g
DB (Hospital A)
DB (Hospital
B)
Model Selection
Staff
JonesHome
Washington
StaffHome
Using Registered Target Objects
Model ComponentsNamespace
Model Components (Lower Model)
Model Components (Lower Model)
Model Profile (Upper Model)
Named Element Model Classifier Model Classifier
Model Classifier Model Classifier
Model Classifier
Named ElementNamed Element
Named ElementNamed Element
Model Components (Lower Model)
Model Components (Lower Model)
Model Components (Lower Model)
Model Components (Lower Model)
Model Components (Lower Model)
Model Components (Lower Model)
Model Components (Lower Model)
Model Components (Lower Model)
Model Concept
Model Selection
Model Domain
Model Instance
Model Specification
has defines
governs
Target Objects for a Model Profile
Model ComponentsNamespace
Model Components (Lower Model) Model Components (Lower Model)
Model Profile (Upper Model)
Named Element Model Classifier Model Classifier
Model Classifier Model Classifier
Model Classifier
Named ElementNamed Element
Named ElementNamed Element
Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model)
Model Concept
Model Selection
Model Domain
Model Instance
Model Specification
Model ComponentsNamespace
Model Components (Lower Model) Model Components (Lower Model)
Model Profile (Upper Model)
Named Element Model Classifier Model Classifier
Model Classifier Model Classifier
Model Classifier
Named ElementNamed Element
Named ElementNamed Element
Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model)
Model Concept
Model Selection
Model Domain
Model Instance
Model Specification
Model ComponentsNamespace
Model Components (Lower Model) Model Components (Lower Model)
Model Profile (Upper Model)
Named Element Model Classifier Model Classifier
Model Classifier Model Classifier
Model Classifier
Named ElementNamed Element
Named ElementNamed Element
Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model)
Model Concept
Model Selection
Model Domain
Model Instance
Model Specification
connected with Model Selection
connected with Model Selection
Composed Target Objects
Model ComponentsNamespace
Model Components (Lower Model) Model Components (Lower Model)
Model Profile (Upper Model)
Named Element Model Classifier Model Classifier
Model Classifier Model Classifier
Model Classifier
Named ElementNamed Element
Named ElementNamed Element
Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model)
Model Concept
Model Selection
Model Domain
Model Instance
Model Specification
Model ComponentsNamespace
Model Components (Lower Model) Model Components (Lower Model)
Model Profile (Upper Model)
Named Element Model Classifier Model Classifier
Model Classifier Model Classifier
Model Classifier
Named ElementNamed Element
Named ElementNamed Element
Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model)
Model Concept
Model Selection
Model Domain
Model Instance
Model Specification
Model ComponentsNamespace
Model Components (Lower Model) Model Components (Lower Model)
Model Profile (Upper Model)
Named Element Model Classifier Model Classifier
Model Classifier Model Classifier
Model Classifier
Named ElementNamed Element
Named ElementNamed Element
Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model) Model Components (Lower Model)
Model Concept
Model Selection
Model Domain
Model Instance
Model Specification
Layered Target Objects
Register again Lower model as Upper model with name
model
name
modelname
Overview of Target Objects World (1)
Structure of Registered Target ObjectsMulti-forestMulti-layerMulti-component
Model Domain(concept)
ModelInsatances(referents)
Model Concept (sign)
NameSpace
Model Selection
Overview of Target Objects World (2)
Model Component
NamedElement
…
+
…
+
Skeleton (overview)
Skeleton (detail)
Overview of Target Objects World (3)
What is “Governing”? Metamodel and Model
Metamodel (upper)• Define the abstract syntax for expressing the lower governing model• Described using MOF, the other notation may be allowed as informative
Model (lower)• Described using UML, the other notation may be allowed as informative• Should be expressed according to concrete syntax governed by upper
metamodel Model and Model
Model (upper)• Described using UML, the other notation may be allowed as informative• Has role as a source model for derived lower models
Model (lower)• Described using UML, the other notation may be allowed as informative • Should be derived from based on governed upper model
Model and Element Model (upper)
• Described using UML, the other notation may be allowed as informative • Has role as a source model for corresponding value sets
Element (lower)• Described using UML, the other notation may be allowed as informative • Should be enumerated for upper model governing values
…
+
Model Profile Model ClassifierUpper Model (metamodel)
Model Component (with Model Selection)
Model Instances
Model Classifier (Lower Model)
Model Component (with Model Selection)
Namespace
Model Selection
governing
Framework of Registering (3)
Skeleton (detail)
…
+
Onto ProfileOnto Source
Onto ExpressionOnto Instances
Onto Rule
Relationship between Core and Onto
…
+
…
+
…
Onto Onto RuleRelationship between Onto and Onto
MMF Mapping
…
+
…
+
…
Model Transformation
Relationship between Onto and Mapping
Mapping of Composite Elements
Mapping for
Model Instance
Model Mapping World
ObservationActCode
LOINC
SNOMED
Lab Observation
Ont Observation ActCode
HL7V3
Ont Observation ActCode Instance
Model Domain
Namespace
Ont Domain
Ont Components
Ont Instance
Model Concept
Model Selection
Model Instance
Model Components (Lower Model)
Model Classifier
Model Profile (Upper Model)
Named Element Ont Classifier
Ont Profile
Set of Model Instances
Upper is Governing Lower
Selected Element
Defining Semantics between Upper and Lower
CodedValue
Model Type
Notation for explanation
ModelClassifier The category of Model Classifier
Pattern• Communication• Message• Component• Framework
Stereotype• Tag Value• Vocabulary• Term
Coded ValueData type
ProductWebsiteMethodology
UBL
BBIE/ABIE
CC/BIE Library
BIEs
BCC/ACC Data Type
examples from ebXMLUpperModel (overview)
CC/BIE Metamodel (ebXML)
UpperModel (detail) and ModelClassifiersRegi st ry Cl ass
Uni queI dent i fi erDi ct i onal y Ent ryNameDefi ni t i on
( )論理ビュー から
Dat a Type
Qual i fi erTerm( )論理ビュー から
Basi c CC Proper t y
( )論理ビュー から
Basi c BI E Proper t y
( )論理ビュー から+basi s
Basi c Core Component ( BCC)
( )論理ビュー から
Basi c Busi ness I nf ormat i on Ent i t y( BBI E)( )論理ビュー から
0. . n
+basi s
0. . n
Busi ness Context
( )論理ビュー から
Busi ness I nf ormai ton Ent i t y( BI E)
Busi nessTerm( )論理ビュー から
Core Component
CCTerm( )論理ビュー から
0. . n
+basi s
0. . n
Associ at i on BI E Proper t y
( )論理ビュー から
Aggreat e Busi ness I nf ormat i on Ent i t y( ABI E)
Qual i fi erTermCardi nal i t y
( )論理ビュー から
0. . n0. . nAssoci at i on CC
Proper t y( )論理ビュー から
0. . n
+basi s
0. . n
BI E Proper ty
Qual i fi erTerm( )論理ビュー から
Aggregat e Core Compnent ( ACC)
Obj ect Cl assTerm( )論理ビュー から
0. . n
+basi s
0. . n
0. . n0. . n
CC Proper t y
Proper t yTermCarndi nal i ty
( )論理ビュー から
0. . n
+basi s
0. . n
BCC
BBIE
ACC
BIE
ABIE
CC
Instance of ModelClassifier
CC/BIE InstancesModelComponent (1)
Sal ary
Monthl y : Amount( )論理ビュー から
<<BCC>>
Tel ephone
Number : Text( )論理ビュー から
<<BCC>>
BCC
Instance of ModelClassifier
Insatnce of ModelClassifier
Pointing instanfce of ModelSelection
Person
Name : TextBirth Date : Date
( 論理 からビュー )
<<ACC>>
Country
Country Name; IdentifierPopulation : Numeric
( 論理 からビュー )
<<ACC>>
Address
Street;TextZIP_Post Code : TextTown : Text
( 論理 からビュー )
<<ACC>>
Residence Office Address
Address Country
ACC
CC/BIE Instances
Sal ary
Monthl y : Amount( )論理ビュー から
<<BCC>>
Tel ephone
Number : Text( )論理ビュー から
<<BCC>>
Empl oyee
Empl oyee. Name : TextEmpl oyy. Bi r th Date : TextSal ary : Amount
( )論理ビュー から
<<ABI E>>
Address Country
Country Name : I dent i fi er( )論理ビュー から
<<ABI E>>
Empl oyee Address
St reet : TextZI P_Post Code : TextTown : TextTel ephone : Text
( )論理ビュー から
<<ABI E>>
Empl oyee. Resi dence
Empl oyee. Offi ce Address
Address Country
ABIE
Pointing instance of ModelSelection
ModelComponent (2)
BCC
BCC
CC/BIE Instances
Sal ary
Monthl y : Amount( )論理ビュー から
<<BCC>>
Tel ephone
Number : Text( )論理ビュー から
<<BCC>>
Person
Name : TextBi rth Date : Date
( )論理ビュー から
<<ACC>>
Country
Country Name; I dent i fi erPopul at i on : Numeri c
( )論理ビュー から
<<ACC>>
Address
St reet ; TextZI P_Post Code : TextTown : Text
( )論理ビュー から
<<ACC>>
Resi dence Offi ce Address
Address Count ry
Sal ary
Monthl y : Amount( )論理ビュー から
<<BCC>>
Tel ephone
Number : Text( )論理ビュー から
<<BCC>>
Empl oyee
Empl oyee. Name : TextEmpl oyy. Bi r th Date : TextSal ary : Amount
( )論理ビュー から
<<ABI E>>
Address Country
Country Name : I dent i fi er( )論理ビュー から
<<ABI E>>
Empl oyee Address
St reet : TextZI P_Post Code : TextTown : TextTel ephone : Text
( )論理ビュー から
<<ABI E>>
Empl oyee. Resi dence
Empl oyee. Offi ce Address
Address Country
BCC
ACCABIE
ModelComponent (3)
ModelSelection
ModelInstance (ABIE for Person)
ACC-Person
Component
ModelClassifier (ACCPerson)
ModelInstances (BIE message)
CC/BIE Instances
Salary
Monthly : Amount( )論理ビュー から
<<BCC>>
Telephone
Number : Text( )論理ビュー から
<<BCC>>
Employee
Employee.Name : TextEmployy.Birth Date : TextSalary : Amount
( )論理ビュー から
<<ABIE>>
Address Country
Country Name : Identifier( )論理ビュー から
<<ABIE>>
Employee Address
Street : TextZIP_Post Code : TextTown : TextTelephone : Text
( )論理ビュー から
<<ABIE>>
Employee.Residence
Employee.Office Address
Address Country
ABIE
ModelSelection
…
CC/BIE Instances
Salary
Monthly : Amount( )論理ビューから
<<BCC>>
Telephone
Number : Text( )論理ビューから
<<BCC>>
Person
Name : TextBirth Date : Date
( )論理ビューから
<<ACC>>
Country
Country Name; IdentifierPopulation : Numeric
( )論理ビューから
<<ACC>>
Address
Street;TextZIP_Post Code : TextTown : Text
( )論理ビューから
<<ACC>>
Residence Office Address
Address Country
BCC
ACC
ModelClassifier
ModelClassifier
CC/BIE Metamodel PROFILE (ebXML)Registry Class
UniqueIdentifierDictionaly EntryNameDefinition
( 論理 からビュー )
Data Type
QualifierTerm( 論理 からビュー )
Basic CC Property
( 論理 からビュー )
Basic BIE Property
( 論理 からビュー )+basis
Basic Core Component(BCC)( 論理 からビュー )
Basic Business Information Entity(BBIE)( 論理 からビュー )
0..n
+basis
0..n
Business Context
( 論理 からビュー )
Business Informaiton Entity(BIE)
BusinessTerm( 論理 からビュー )
Core Component
CCTerm( 論理 からビュー )
0..n
+basis
0..n
Association BIE Property
( 論理 からビュー )
Aggreate Business Information Entity(ABIE)
QualifierTermCardinality
( 論理 からビュー )
0..n0..nAssociation CC
Property( 論理 からビュー )
0..n
+basis
0..n
BIE Property
QualifierTerm( 論理 からビュー )
Aggregate Core Compnent(ACC)
ObjectClassTerm( 論理 からビュー )
0..n
+basis
0..n
0..n0..n
CC Property
PropertyTermCarndinality
( 論理 からビュー )
0..n
+basis
0..n
BCCBBIE
ACC
BIE
ABIE
CC
…
+
Model Profile Model ClassifierUpper Model (metamodel)
Model Component
Model Instances Model Component
Namespace
governing
External Reference
Registered Target Objects (2)UBL
BBIE/ABIE
CC/BIE Library
BIEs
BCC/ACC Data Type
Metamodel of MMF Core Target Registry Relationship
Administered Item (MDR2.0) MOF Model (from MOF1.4)
ModelClassifier (informative)Level Pair (informative)
MOF1.4 MDR2.0
MMF- Core
ModelClassifier
RelationshipRegistry
Target
Level Pair
Registration Basic Framework
Administered Item
ModelComponent
ModelClassifiermodel typeusage typexmi textattachment typeattachment
ModelProfilenameconformance
ModelInstancescomponentTypeformat
0..*
1 +referent
0..*
1
ModelSelectioncondition
11..*
+selecting
1
+selected by
1..*
NamedElementModelDomain
modelType0..11
+concept
0..11
0..*
1
+specified by0..*
1
1
1..*
+governed by1
+governing1..*
Namespace
ModelConcept
1
1..*
+generally expressed by1
+expressing1..*
1 1
+sign
1 1
10..*
+specified by
1
+having
0..*
1
1
+within1
1
Registered Target Structure
XMLSchemaSpreadSheet
Administered Item
Package
ModelSelectioncondition
ModelClassifiermodel typeusage typexmi textattachment typeattachment
0..1
1+has
0..1
1
ModelSpecificationformatoriginalsourceissue dateversionstatustitilepurposescopenormativeReferencetermDefinitioncomformance
ModelComponent0..*
+external references
0..*0..*
+typed models
0..*
UpperModelmodel layer levelisMOFcompliantMOFversion
ModelProfilenameconformance
0..*
+descriptions
0..*
+consist of
0..* 1
+specified by
0..* 1
NamedElement
ModelConstructs+aggregated with1..*
+constructs1..*
MetaClass Attribute or Reference Entry1 Entry2 Entry3 Entry4
ModelConcept administered Item #C5 #C6
within ebXML Namespace ebXML Namespace
sign BIEs BIEs
specified by #D3 #D4
ModelDomain administered Item #D3 #D4
specified by #P3 #P4
concept xx Domain xx Domain
model Type Messages Messages
ModelProfile administered Item #P3 #P4
name xx Domain profile zz Domain profile
specified by xx metamodel zz metamodel
description URI URI
consist of URI URI
ModelInstances administered Item #I9 #I10 #I11 #12
governed by #D3 #D3 #D4 #D4
referent xx BIE List1 xx BIE models1 zz1 BIE models zz2 BIE models
construct Type Spread Sheet UML UML UBL
Format TBG17 XMI XMI XMLSchema
ModelSelection administered Item #S7 #S8 #S9
generally expressed by #C5 #C5 #C6
selecting #I9 #I10 #11
condition
Registration Example
Model Relationship
ModelClassifiermodel typeusage typexmi textattachment typeattachment
ModelAssociation
ModelDomainmodelType
ModelAssociatonEnd*
+ends
*
1
+modeldomain
1
Category of Registered Target (informative)
ModelClassifiermodel typeusage typexmi textattachment typeattachment
PatternbaseClassIconextendedElementconstraint
StereotypebaseClassIconextendedElementconstraintrequiredTagstereotypeConstraint
TagValue Vocabulary Datatype
CodedValuevalueDomainDataTypevalueDomainFormatvalueDomainDaximumCharacter QualityvalueDomainUnitofMeasurevalueItemvalueMeaningIdentifiervalueMeaningDescription
Term
FrameworkComponentMessageCommunication
Methodology WebSite
Product
Level Pair (informative)
Model Cl assi fi er
Model Level
LowerLayer
isOn
Model Vi ew
Upperl Layer
leverPair
isOn
LowerModel
isFrom
UpperModel
isFrom
govern ModelComponent
LowerModelElement
govern
UpperModelEl ement
instanceOf
MMF Ontology
OntSource
OntClassifier
OntComponets
ModelSelectioncondition
ModelAssociation
OntDomainOntoConcept
OntSelection OntInstances
Model Profile
ModelDomainmodelType
ModelClassifierNamespace
ModelConceptNamedElement(Reflection )から
OntVariant
TransformationRule CompositionRule
OntoGeneral
OntoLocal MapLocal
MapLocalRule
MapGeneral MapGeneralRule
ModelInstancescomponentTypeformat
ModelComponent
MMF Core, Ontology and Mapping
MetaClass Attribute or Reference Data type
Model Concept administration Administered Item[1..1]
within Namespace:string
sign NamedElement:string
specified by Model Domain[1..1]
Onto Concepts chosen from Onto Domain[1..*]
about names string[1..*]
about namespace string
Model Domain administration Administered Item[1..1]
specified by Model Profile[0..*]
concept Model Classifier[0..1]
model Type string
Onto Domain about namespace string
onto type Onto Classifier[1..*]
Model Profile administration Administered Item[1..1]
name string
specified by Upper Model[0..*]
description Model Specification[0..*]
consist of Model Component[0..*]
Onto Source consist of Onto Construct[0..*]
Registration Form for MMF Core and Onto
MetaClass Attribute Data type MetaClass Attribute Data type
Model Instances
administration Administered Item[1..1]
governed by Model Domain[0..1]
referents Model Component[0..*]
component Type string
format string
Onto Instance governed by Onto Domain[0..1]
Onto Variant consist of Onto Component[1..1] Onto Local consist of Onto Variant[0..*]
about transformation Transformation Info[1..1] about composition Composition Info[1..1]
Model Component
administration Administered Item[1..1]
construct Named Element[0..*]
type code Model Element Type
usage code Model Construct Type
typed model Model Classifier[1..*]
External Reference Model Selection[0..*]
Onto Component
has concept boolean
typed onto Onto Classifier[1..*]
consist of Atomic Onto Construct[0..*]
Model Selection administration Administered Item[1..1]
generally expressed by Model Concept[1..1]
selecting Model Instance[0..1]
condition string
Onto Selection selected from Onto Instance[1..*]
expressing Onto Concept[1..*]
Example : MMF Application
An Application of Ontology and Model Mapping
Ontology based Data Mapping in CWM
Administered ItemOrgani zati on(MDR)
organi zati on_name [1. . 1] : Stri ng2organi zati on_mai l _address [0. . 1] : Stri ng
Contactcontact_name [1. . 1] : Stri ngcontact_ti t l e [0. . 1] : Stri ngcontact_i nformati on [1. . 1] : Stri ng
Language_I denti fi cati onl anguage_i denti fi er [1. . 1] : Stri ngcountry_i denti fi er [0. . 1] : Stri ng
Regi strati on_ Authori ty_I denti fi eri nternati onal _code_desi gnator [1. . 1] : Stri ngorgani zati on_i denti fi er [1. . 1] : Stri ngorgani zati on_part_i denti fi er [0. . 1] : Stri ngOPI _source [0. . 1] : Stri ng
Regi sterregi strar_i denti fi er [1. . 1] : Stri ng
1
1
1
1
regi strar_contact
Reference Documentreference_document_i denti fi er [1. . 1] : Stri ngreference_document_type_descri pti on [0. . 1] : Stri ngreference_document_ti t l e [0. . 1] : Stri ng
1. . n 0. . n
+provi di ng
1. . n
+provi ded_by
0. . n
Submi ssi on
1
0. . n
+submi tt i ng1
0. . n
1
1
1
1
submi ssi on_contact
Stewardshi p
+admi ni steri ng
1
1
1
1
stewardshi p_contact
Regi storati on Authori ty
1. . n
0. . n
1. . n
0. . n
documentati on_l anguage_i denti fi er
11 11 regi strati on_authori ty_i denti fi er1
1. . n
+represented_by1
+represents1. . n
regi strati on_authori ty_regi strar
Admi ni strati on_Recordregi strati on_status [1. . 1] : Stri ngadmi ni strati ve_status [1. . 1] : Stri ngcreati on_date [1. . 1] : Datel ast_change_date [0. . 1] : Dateeff ecti ve_date [0. . 1] : Dateunti l _date [0. . 1] : Datechange_descri pti on [0. . 1] : Stri ngadmi ni strati ve_note [0. . 1] : Stri ngexpl anatory_comment [0. . 1] : Stri ngunresol ved_i ssue [0. . 1] : Stri ngori gi n [0. . 1] : Stri ng
Admi ni stered I tem
0. . n
0. . n
+descri bi ng
0. . n
+descri bed_by
0. . n
reference
1
1
+submi tted_by
1
1
1
1
+admi ni stered_by1
1
1
0. . n
+regi steri ng
1
+regi stered_by
0. . n
regi strati on
11 11
administered_Item_administrateion_record
MOF model (from MOF 1.4)
Package
Featurescope : ScopeKi ndvi si bi l i t y : Vi si bi l i t yKi nd
Behavi oral FeatureSt ructural Feature
mul t i pl i ci t y : Mul t i pl i ci t yTypei sChangeabl e : Bool ean
Const antval ue : St r i ng
Parameterdi rect i on : Di rect i onKi ndmul t i pl i ci t y : Mul t i pl i ci t yType
TypeAl i as
At t r i butei sDer i ved : Bool ean
Associ at i oni sDer i ved : Bool ean
Cl assi sSi ngl et on : Bool ean
Cl assi fi er
Model Profi l e
1
0. . n
1
0. . n
I sOf Type
Except i onOperat i oni sQuery : Bool ean
0. . n0. . n 0. . n0. . n
Can Rai se
Associ at i onEndi sNavi gabl e : Bool eanaggregat i on : Aggregat i onKi ndmul t i pl i ci t y : Mul t i pl i ci t yTypei sChangeabl e : Bool ean
Ref erence
1
0. . n
1
0. . n
Ref er To
1
0. . n
1
0. . n
/ Expose
General i zabl eEl ementi sRoot : Bool eani sLeaf : Bool eani sAbst ract : Bool eanvi si bi l i t y : Vi si bi l i t yKi nd
0. . n 0. . n0. . n
General i zes
0. . n
I mpor tvi si bi l i t y : Vi si bi l i t yKi ndi sCl ustered : Bool ean
NamedEl ement0. . n
0. . n
0. . n
0. . n
Al i ases
TagtagI d : St r i ngval ues : l i st of St r i ng
Const rai ntexpressi on : St r i ngl anguage : St r i ngeval uat i onPol i cy : Eval uat i onKi nd
Model El ementname : St r i ng/ qual i fi edName : St r i ngannot at i on : St r i ng
0. . n
0. . n
0. . n
0. . n
Contai ns
0. . n
0. . n
0. . n
/ Depends On
0. . n
0. . n
1. . n
0. . n{ordered}
1. . n
At tachTo0. . n
1. . n
0. . n
1. . n
Const rai nt
DataType
Pr i mi t i veTypeSt ructure Type Enumerat i on Typel abel s : ordered set of St r i ng
Al i as Type Col l ect i on Typemul t i pl i ci t y : Mul t i pl i ci t yType