Package com.nomagic.magicdraw.uml
Class Visitor
- java.lang.Object
-
- com.nomagic.uml2.impl.ModelHierarchyVisitor
-
- com.nomagic.magicdraw.uml.Visitor
-
- All Implemented Interfaces:
AbstractVisitor
,ModelVisitor
- Direct Known Subclasses:
InheritanceVisitor
@OpenApi public class Visitor extends ModelHierarchyVisitor implements AbstractVisitor
Visitor used to visit in specific way every subclass of Element. Class is based on visitor pattern. All methods in this implementation are empty.- See Also:
BaseElement
-
-
Constructor Summary
Constructors Constructor Description Visitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visitAbstractDiagramPresentationElement(AbstractDiagramPresentationElement o)
Method visits given object.void
visitBaseElement(BaseElement o)
Method visits given object.void
visitDiagramPresentationElement(DiagramPresentationElement o)
Method visits given object.void
visitPathConnector(PathConnector o)
Method visits given object.void
visitPathElement(PathElement o)
Method visits given object.void
visitPresentationElement(PresentationElement o)
Method visits given object.void
visitProject(Project o)
Method visits given object.void
visitShapeElement(ShapeElement o)
Method visits given object.-
Methods inherited from class com.nomagic.uml2.impl.ModelHierarchyVisitor
visitAbstraction, visitAcceptCallAction, visitAcceptEventAction, visitAction, visitActionExecutionSpecification, visitActionInputPin, visitActivity, visitActivityEdge, visitActivityFinalNode, visitActivityGroup, visitActivityNode, visitActivityParameterNode, visitActivityPartition, visitActor, visitAddStructuralFeatureValueAction, visitAddVariableValueAction, visitAnyReceiveEvent, visitArtifact, visitAssociation, visitAssociationClass, visitBehavior, visitBehavioralFeature, visitBehavioredClassifier, visitBehaviorExecutionSpecification, visitBooleanTaggedValue, visitBroadcastSignalAction, visitCallAction, visitCallBehaviorAction, visitCallEvent, visitCallOperationAction, visitCentralBufferNode, visitChangeEvent, visitClass, visitClassifier, visitClassifierTemplateParameter, visitClause, visitClearAssociationAction, visitClearStructuralFeatureAction, visitClearVariableAction, visitCollaboration, visitCollaborationUse, visitCombinedFragment, visitComment, visitCommunicationPath, visitComponent, visitComponentRealization, visitConditionalNode, visitConnectableElement, visitConnectableElementTemplateParameter, visitConnectionPointReference, visitConnector, visitConnectorEnd, visitConsiderIgnoreFragment, visitConstraint, visitContinuation, visitControlFlow, visitControlNode, visitCreateLinkAction, visitCreateLinkObjectAction, visitCreateObjectAction, visitDataStoreNode, visitDataType, visitDecisionNode, visitDependency, visitDeployedArtifact, visitDeployment, visitDeploymentSpecification, visitDeploymentTarget, visitDestroyLinkAction, visitDestroyObjectAction, visitDestructionOccurrenceSpecification, visitDevice, visitDiagram, visitDirectedRelationship, visitDuration, visitDurationConstraint, visitDurationInterval, visitDurationObservation, visitElement, visitElementImport, visitElementTaggedValue, visitElementValue, visitEncapsulatedClassifier, visitEnumeration, visitEnumerationLiteral, visitEvent, visitExceptionHandler, visitExecutableNode, visitExecutionEnvironment, visitExecutionOccurrenceSpecification, visitExecutionSpecification, visitExpansionNode, visitExpansionRegion, visitExpression, visitExtend, visitExtension, visitExtensionEnd, visitExtensionPoint, visitFeature, visitFinalNode, visitFinalState, visitFlowFinalNode, visitForkNode, visitFunctionBehavior, visitGate, visitGeneralization, visitGeneralizationSet, visitGeneralOrdering, visitImage, visitInclude, visitInformationFlow, visitInformationItem, visitInitialNode, visitInputPin, visitInstanceSpecification, visitInstanceValue, visitIntegerTaggedValue, visitInteraction, visitInteractionConstraint, visitInteractionFragment, visitInteractionOperand, visitInteractionUse, visitInterface, visitInterfaceRealization, visitInterruptibleActivityRegion, visitInterval, visitIntervalConstraint, visitInvocationAction, visitJoinNode, visitLifeline, visitLinkAction, visitLinkEndCreationData, visitLinkEndData, visitLinkEndDestructionData, visitLiteralBoolean, visitLiteralInteger, visitLiteralNull, visitLiteralReal, visitLiteralSpecification, visitLiteralString, visitLiteralUnlimitedNatural, visitLoopNode, visitManifestation, visitMergeNode, visitMessage, visitMessageEnd, visitMessageEvent, visitMessageOccurrenceSpecification, visitModel, visitMultiplicityElement, visitNamedElement, visitNamespace, visitNode, visitObjectFlow, visitObjectNode, visitObservation, visitOccurrenceSpecification, visitOpaqueAction, visitOpaqueBehavior, visitOpaqueExpression, visitOperation, visitOperationTemplateParameter, visitOutputPin, visitPackage, visitPackageableElement, visitPackageImport, visitPackageMerge, visitParameter, visitParameterableElement, visitParameterSet, visitPartDecomposition, visitPin, visitPort, visitPrimitiveType, visitProfile, visitProfileApplication, visitProperty, visitProtocolConformance, visitProtocolStateMachine, visitProtocolTransition, visitPseudostate, visitQualifierValue, visitRaiseExceptionAction, visitReadExtentAction, visitReadIsClassifiedObjectAction, visitReadLinkAction, visitReadLinkObjectEndAction, visitReadLinkObjectEndQualifierAction, visitReadSelfAction, visitReadStructuralFeatureAction, visitReadVariableAction, visitRealization, visitRealTaggedValue, visitReception, visitReclassifyObjectAction, visitRedefinableElement, visitRedefinableTemplateSignature, visitReduceAction, visitRegion, visitRelationship, visitRemoveStructuralFeatureValueAction, visitRemoveVariableValueAction, visitReplyAction, visitSendObjectAction, visitSendSignalAction, visitSequenceNode, visitSignal, visitSignalEvent, visitSlot, visitStartClassifierBehaviorAction, visitStartObjectBehaviorAction, visitState, visitStateInvariant, visitStateMachine, visitStereotype, visitStringExpression, visitStringTaggedValue, visitStructuralFeature, visitStructuralFeatureAction, visitStructuredActivityNode, visitStructuredClassifier, visitSubstitution, visitTaggedValue, visitTemplateableElement, visitTemplateBinding, visitTemplateParameter, visitTemplateParameterSubstitution, visitTemplateSignature, visitTestIdentityAction, visitTimeConstraint, visitTimeEvent, visitTimeExpression, visitTimeInterval, visitTimeObservation, visitTransition, visitTrigger, visitType, visitTypedElement, visitUnmarshallAction, visitUsage, visitUseCase, visitValuePin, visitValueSpecification, visitValueSpecificationAction, visitVariable, visitVariableAction, visitVertex, visitWriteLinkAction, visitWriteStructuralFeatureAction, visitWriteVariableAction
-
-
-
-
Method Detail
-
visitProject
@OpenApi public void visitProject(Project o) throws java.lang.Exception
Method visits given object.- Parameters:
o
- object to visit.- Throws:
java.lang.Exception
-
visitBaseElement
@OpenApi public void visitBaseElement(BaseElement o) throws java.lang.Exception
Method visits given object.- Overrides:
visitBaseElement
in classModelHierarchyVisitor
- Parameters:
o
- object to visit.- Throws:
java.lang.Exception
-
visitDiagramPresentationElement
@OpenApi public void visitDiagramPresentationElement(DiagramPresentationElement o) throws java.lang.Exception
Method visits given object.- Parameters:
o
- object to visit.- Throws:
java.lang.Exception
-
visitAbstractDiagramPresentationElement
@OpenApi public void visitAbstractDiagramPresentationElement(AbstractDiagramPresentationElement o) throws java.lang.Exception
Method visits given object.- Parameters:
o
- object to visit.- Throws:
java.lang.Exception
-
visitPresentationElement
@OpenApi public void visitPresentationElement(PresentationElement o) throws java.lang.Exception
Method visits given object.- Parameters:
o
- object to visit.- Throws:
java.lang.Exception
-
visitPathConnector
@OpenApi public void visitPathConnector(PathConnector o) throws java.lang.Exception
Method visits given object.- Parameters:
o
- object to visit.- Throws:
java.lang.Exception
-
visitPathElement
@OpenApi public void visitPathElement(PathElement o) throws java.lang.Exception
Method visits given object.- Parameters:
o
- object to visit.- Throws:
java.lang.Exception
-
visitShapeElement
@OpenApi public void visitShapeElement(ShapeElement o) throws java.lang.Exception
Method visits given object.- Parameters:
o
- object to visit.- Throws:
java.lang.Exception
-
-