Package com.nomagic.magicdraw.uml
Interface MDElement
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
- All Known Implementing Classes:
com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
,com.nomagic.magicdraw.uml.symbols.shapes.AbstractImageShapeView
,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.BaseLifelineView
,com.nomagic.magicdraw.uml.symbols.paths.BaseRealizationView
,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
,ElementImpl
,ElementImportView
,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.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
,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
,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
@OpenApi public interface MDElement extends BaseElement
This is a MagicDraw element interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(Visitor visitor)
Method accepts visitor, and calls method visit<class name>(this) of visitor .boolean
canAddChild(BaseElement baseElement)
com.nomagic.magicdraw.uml.ElementSortKeys
createSortKeys()
com.nomagic.magicdraw.commands.MacroCommand
getCommandForAppending()
java.lang.String
getName()
Returns the name of the element.Project
getProject()
Project
getProjectImpl()
java.lang.String
getResourceID()
com.nomagic.magicdraw.uml.SortKeys
getSortKeys()
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, removeAllPropertyChangeListeners, removePropertyChangeListener, setID, sGetID
-
-
-
-
Method Detail
-
getSortKeys
com.nomagic.magicdraw.uml.SortKeys getSortKeys()
Implementation of getSortKeys() from Sortable interface.- Returns:
- the array of predefined sort keys.
-
getName
@OpenApi @CheckForNull java.lang.String getName()
Returns the name of the element. This element will return null always, because it can not have name. However the derived element may override this method and return specific name.- Returns:
- name of the element.
-
getProjectImpl
Project getProjectImpl()
-
createSortKeys
com.nomagic.magicdraw.uml.ElementSortKeys createSortKeys()
-
getResourceID
java.lang.String getResourceID()
-
canAddChild
boolean canAddChild(BaseElement baseElement)
-
accept
@OpenApi void accept(Visitor visitor) throws java.lang.Exception
Method accepts visitor, and calls method visit<class name>(this) of visitor . See Visitor pattern for more details.- Parameters:
visitor
- which visits this element.- Throws:
java.lang.Exception
-
getProject
Project getProject()
-
getCommandForAppending
com.nomagic.magicdraw.commands.MacroCommand getCommandForAppending()
-
-