Package com.nomagic.magicdraw.uml
Interface MDElement
- All Superinterfaces:
BaseElement
,Cloneable
,Comparable
- All Known Implementing Classes:
AbstractDiagramPresentationElement
,com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
,com.nomagic.magicdraw.uml.symbols.shapes.AbstractImageShapeView
,com.nomagic.magicdraw.uml.symbols.shapes.AbstractSeparatorView
,com.nomagic.magicdraw.uml.symbols.shapes.AbstractShapeWithLabels
,com.nomagic.magicdraw.uml.symbols.shapes.AbstractShapeWithLabelsInside
,com.nomagic.magicdraw.uml.symbols.shapes.AbstractTextBoxView
,ActionView
,ActivationView
,com.nomagic.magicdraw.uml.symbols.shapes.ActivityGroupView
,ActorView
,ArtifactView
,AssociationClassView
,AssociationView
,BarView
,com.nomagic.magicdraw.uml.symbols.paths.BaseFlowView
,com.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
,com.nomagic.magicdraw.uml.symbols.shapes.BaseLifelineView
,com.nomagic.magicdraw.uml.symbols.paths.BaseRealizationView
,com.nomagic.magicdraw.uml.symbols.shapes.BaseTreeShape
,CallBehaviorActionView
,CallOperationActionView
,ClassifierView
,ClassView
,CollaborationUseView
,CollaborationView
,CombinedFragmentView
,CommentView
,CommunicationPathView
,ComponentView
,ConditionalNodeView
,ConnectorToSelfView
,ConnectorView
,ConstraintLinkView
,com.nomagic.magicdraw.uml.symbols.paths.ContainerLinkView
,com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
,ContainmentLinkView
,ContentShape
,ControlFlowView
,DataTypeView
,DecisionView
,DependencyView
,DeploymentView
,DiagramFrameView
,DiagramLegendShape
,DiagramPresentationElement
,DiagramPropertiesShape
,DiagramShape
,DurationConstraintView
,ElementImportView
,com.nomagic.magicdraw.uml.symbols.shapes.EmbeddedImageShapeView
,EnumerationView
,ExceptionHandlerView
,ExpansionNodeView
,ExpansionRegionView
,ExtendView
,ExtensionView
,FlowConnectorView
,FoundMessageView
,com.nomagic.magicdraw.uml.symbols.shapes.FragmentView
,com.nomagic.magicdraw.uml.symbols.shapes.FrameView
,GeneralizationSetView
,GeneralizationView
,GenericView
,com.dassault_systemes.modeler.magic.kerml.diagram.HeaderShape
,com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
,ImageShapeView
,IncludeView
,InformationFlowView
,InformationItemView
,InstanceSpecificationView
,InteractionUseOverviewView
,InteractionUseView
,InterfaceRealizationView
,InterfaceView
,InterruptibleActivityRegionView
,LifeLineLineView
,LifelineView
,LinkAttributeView
,LinkView
,com.nomagic.magicdraw.uml.symbols.paths.LinkWithEndsView
,com.nomagic.magicdraw.uml.symbols.paths.LinkWithRolesView
,com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
,LoopNodeView
,com.nomagic.magicdraw.uml.symbols.paths.LostFoundMessageView
,LostMessageView
,com.nomagic.magicdraw.uml.MDElementImpl
,MessageView
,NNaryAssociationView
,NodeInstanceSpecificationView
,NodeView
,NoteAnchorView
,NoteView
,ObjectFlowView
,ObjectNodeView
,OpaqueActionView
,PackageImportView
,PackageMergeView
,PackageShape
,PackageView
,PartView
,PathConnector
,PathElement
,com.nomagic.magicdraw.uml.symbols.shapes.PathToSelfShape
,PinView
,PortView
,PresentationElement
,PrimitiveTypeView
,ProfileApplicationView
,Project
,ProjectOptions
,PseudoNodeView
,PseudoStateView
,RealizationView
,RectangularShape
,RoleBindingView
,SeparatorView
,com.nomagic.magicdraw.uml.symbols.paths.SeqBaseMessageView
,SeqMessageView
,SeqSelfMessageView
,SequenceLifelineView
,SequenceNodeView
,ShapeElement
,com.nomagic.magicdraw.uml.symbols.shapes.ShapeWithLabels
,SignalActionView
,SignalView
,StateInvariantView
,StateView
,StereotypeView
,StructuredActivityNodeView
,SwimlaneCellView
,SwimlaneView
,com.nomagic.magicdraw.uml.symbols.shapes.TableCellView
,com.nomagic.magicdraw.uml.symbols.shapes.TableShapeView
,TemplateBindingView
,TextBoxView
,com.nomagic.magicdraw.uml.symbols.shapes.TextShapeView
,TimeConstraintView
,TransitionToSelfView
,TransitionView
,TreeView
,com.nomagic.magicdraw.uml.symbols.shapes.TypedElementView
,com.nomagic.magicdraw.uml.symbols.shapes.TypedElementWithLabels
,UsageView
,UseCaseView
,VirtualRelationView
This is a MagicDraw element interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Method accepts a visitor, and calls method "visit<class name>(this)" of a visitor.boolean
canAddChild
(BaseElement baseElement) getName()
Returns the name of the element.default Project
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.com.dassault_systemes.modeler.foundation.common.sort.SortKeys
Implementation of getSortKeys() from Sortable interface.Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, atInsert, canAdd, canAdd, canAddChild, canAddInstance, canBeDeleted, canChangeParent, canDeleteChild, clone, dispose, firePropertyChange, getClassType, getHumanName, getHumanType, getID, getObjectParent, isEditable, isParentOf, isSelfChangeable, removeAllPropertyChangeListeners, removePropertyChangeListener, setID, sGetID
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getSortKeys
com.dassault_systemes.modeler.foundation.common.sort.SortKeys getSortKeys()Implementation of getSortKeys() from Sortable interface.- Returns:
- the array of predefined sort keys.
-
getName
Returns the name of the element. This element will return null always, because it cannot have a name. However, the derived element may override this method and return a specific name.- Returns:
- name of the element.
-
getResourceID
String getResourceID() -
canAddChild
-
accept
Method accepts a visitor, and calls method "visit<class name>(this)" of a visitor. See "Visitor" pattern for more details.- Parameters:
visitor
- which visits this element.- Throws:
Exception
-
getProjectImpl
Deprecated, for removal: This API element is subject to removal in a future version.useProject.getProject(BaseElement)
. Will be removed in 2026x.This method is deprecated and will be removed soon.- Returns:
- project
-
getProject
Deprecated, for removal: This API element is subject to removal in a future version.useProject.getProject(BaseElement)
. Will be removed in 2026x.This method is deprecated and will be removed soon.- Returns:
- project
-
Project.getProject(BaseElement)
.