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.AbstractShapeWithLabels, com.nomagic.magicdraw.uml.symbols.shapes.AbstractShapeWithLabelsInside, 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, 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 Details

    • getName

      @OpenApi @CheckForNull 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.
    • accept

      @OpenApi void accept(Visitor visitor) throws 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:
      Exception