Extending the IEC Common Information Model (CIM) with Enterprise Architect. Ben Constable Chief Operations Officer Sparx Systems. CIM Users Group Meeting, Milan 2010. Overview. Review of Concepts UML CIM Enterprise Architect Getting Started with CIM and Enterprise Architect
Chief Operations Officer
CIM Users Group Meeting, Milan 2010
Class Package Component
(requisites for CIM modeling)
Relationship to CIM:
Q: Can I import existing models from another tool?
A:Probably. Many tools support model data exchange via XMI (XML Metadata Interchange).
Enterprise Architect has robust support for importing XMI in its various ‘flavors’ including XMI produced from other modeling tools.
The CIM standard models were migrated using XMI. See: CIM Model Manager Report to WG 13 and 14 June, 2008, Kendall Demaree
If diagram info exported from your legacy tool is poor or incomplete, after import you might see…
What we'd like to see is more like…
Use Enterprise Architect’s Traceability window
Trace the selected Element’s relationships within the model.
Filter relationships and restrict hierarchy depth
Also: Relationships window, Relationship Matrix for V&V activity
Inherit from CIM model elements to build up extensions.
Drag n’ Drop the standard Switch class onto the diagram
Create the SwitchX class
Generalize from Switch to SwitchX
Association roles should be named at each end
Multiplicities should be defined
Use CIM naming conventions
Only one of our changes actually impacts the CIM standard model
Track model changes by inspection…
…. or using Baseline compare
Baselines stored in model as XMI ‘snapshots’ or external files
Compare utility shows details of items added, removed or changed in the model
Allows new CIM versions or CIM extensions to be selectively merged
A fundamental value proposition behind modeling: Improves communication!
Not everyone consumes models directly yet
Models also realize value when used to generate useful artifacts.
Rich-Text Format (RTF) reports provide traditional delivery of model info in document form
RTF MS Word compatible
Provides conversion path to obtain PDF document (MS Word PDF)
Apply meta-data filters to selectively include/exclude model elements and sub-element information
1. Extending the CIM with Enterprise Architect
2. Enterprise Architect 8 – What’s new for a CIM modeler?
3. Collaborative Modeling