Package com.nomagic.magicdraw.uml
Class ElementImpl
- java.lang.Object
-
- com.nomagic.magicdraw.uml.MDElementImpl
-
- com.nomagic.magicdraw.uml.ElementImpl
-
- All Implemented Interfaces:
BaseElement
,MDElement
,java.lang.Cloneable
,java.lang.Comparable
- Direct Known Subclasses:
PresentationElement
,ProjectOptions
@OpenApi public abstract class ElementImpl extends com.nomagic.magicdraw.uml.MDElementImpl
This is an abstract base class for all presentation and model element in MagicDraw application.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ElementImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementImpl
clone()
Returns a copy of theElement
.-
Methods inherited from class com.nomagic.magicdraw.uml.MDElementImpl
accept, accept, addPropertyChangeListener, atInsert, canAdd, canAdd, canAddChild, canAddChild, canAddInstance, canBeDeleted, canChangeParent, canDeleteChild, compareTo, createSortKeys, dispose, firePropertyChange, generateID, getClassType, getCommandForAppending, getHumanName, getHumanType, getID, getName, getObjectParent, getProject, getProjectImpl, getProjectProvider, getResourceID, getSortKeys, hasListeners, isEditable, isParentOf, removeAllChildren, removeAllParents, removeAllPropertyChangeListeners, removePropertyChangeListener, setID, setProjectProvider, sGetID, toString
-
-
-
-
Method Detail
-
clone
@OpenApi public ElementImpl clone() throws java.lang.CloneNotSupportedException
Returns a copy of theElement
.- Specified by:
clone
in interfaceBaseElement
- Overrides:
clone
in classcom.nomagic.magicdraw.uml.MDElementImpl
- Returns:
- the cloned object
- Throws:
java.lang.CloneNotSupportedException
-
-