• Skip to main content
  • assistive.skiplink.to.breadcrumbs
  • assistive.skiplink.to.header.menu
  • assistive.skiplink.to.action.menu
  • assistive.skiplink.to.quick.search
  • Log in
  • Help / Tips Help
    • Online Help
    • Keyboard Shortcuts
    • Feed Builder
    • What’s new
    • About Confluence
  • Search
No Magic Documentation
Hit enter to search
MagicDraw 19.0 LTR

    Content

  • Pages
  • Blog
  • Scroll Documents

    Space Tools

  • Settings
  • Content Tools
  • Apps

36315771
MD190
3
  • Document toolbox Document toolbox
    • Attachments (1)
    • Page History
    • Page Information
    • Resolved comments
    • View in Hierarchy
    • View Source
    • Export to PDF
    • Export to Word
    • Export to HTML
    • Export to PDF
    • Copy Page Tree

Breadcrumbs

  1. Pages
  2. MagicDraw Documentation
  3. Developer Guide
  4. UML model
  5. Working with UML model

Retrieving meta information about element

Every Element is identified by it's "metaclass". Element metaclass is mapped into java interface (for example com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class). 

Use com.nomagic.magicdraw.uml.BaseElement.getClassType() to retrieve the element metaclass.

Use com.nomagic.magicdraw.uml.ClassTypes for managing the metaclasses - collecting all available, collecting derived and etc.

 


No Magic, Inc. Copyright © 1998 – 2025 No Magic, Incorporated, a Dassault Systèmes company – All Rights Reserved.

null