Interface DestroyObjectAction
-
- All Superinterfaces:
Action
,ActivityNode
,BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,ExecutableNode
,MDObject
,ModelObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,RedefinableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
public interface DestroyObjectAction extends Action
A representation of the model object 'Destroy Object Action'.A DestroyObjectAction is an Action that destroys objects.
The following features are supported:
- See Also:
UMLPackage.getDestroyObjectAction()
- Model:
- annotation="MOF package='actions.mdintermediateactions'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputPin
getTarget()
Returns the value of the 'Target' containment reference.boolean
isDestroyLinks()
Returns the value of the 'Destroy Links' attribute.boolean
isDestroyOwnedObjects()
Returns the value of the 'Destroy Owned Objects' attribute.void
setDestroyLinks(boolean value)
Sets the value of the 'Destroy Links
' attribute.void
setDestroyOwnedObjects(boolean value)
Sets the value of the 'Destroy Owned Objects
' attribute.void
setTarget(InputPin value)
Sets the value of the 'Target
' containment reference.-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.actions.mdbasicactions.Action
get_actionExecutionSpecificationOfAction, get_actionInputPinOfFromAction, get_interactionOfAction, getContext, getInput, getLocalPostcondition, getLocalPrecondition, getOutput, has_actionExecutionSpecificationOfAction, hasInput, hasLocalPostcondition, hasLocalPrecondition, hasOutput, isLocallyReentrant, set_actionInputPinOfFromAction, set_interactionOfAction, setLocallyReentrant
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.activities.mdfundamentalactivities.ActivityNode
get_activityNodeOfRedefinedNode, getActivity, getIncoming, getInGroup, getInInterruptibleRegion, getInPartition, getInStructuredNode, getOutgoing, getRedefinedNode, has_activityNodeOfRedefinedNode, hasIncoming, hasInGroup, hasInInterruptibleRegion, hasInPartition, hasOutgoing, hasRedefinedNode, setActivity, setInStructuredNode
-
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, getObjectParent, isEditable, isParentOf, removeAllPropertyChangeListeners, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.activities.mdstructuredactivities.ExecutableNode
get_clauseOfBody, get_clauseOfTest, get_exceptionHandlerOfHandlerBody, get_loopNodeOfBodyPart, get_loopNodeOfSetupPart, get_loopNodeOfTest, get_sequenceNodeOfExecutableNode, getHandler, has_exceptionHandlerOfHandlerBody, hasHandler, set_clauseOfBody, set_clauseOfTest, set_loopNodeOfBodyPart, set_loopNodeOfSetupPart, set_loopNodeOfTest, set_sequenceNodeOfExecutableNode
-
Methods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, getVisibility, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace, setVisibility
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.RedefinableElement
get_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
-
-
-
Method Detail
-
isDestroyLinks
boolean isDestroyLinks()
Returns the value of the 'Destroy Links' attribute. The default value is"false"
. Specifies whether links in which the object participates are destroyed along with the object.- Returns:
- the value of the 'Destroy Links' attribute.
- See Also:
setDestroyLinks(boolean)
,com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getDestroyObjectAction_DestroyLinks()
- Model:
- default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
- Generated:
-
setDestroyLinks
void setDestroyLinks(boolean value)
Sets the value of the 'Destroy Links
' attribute.- Parameters:
value
- the new value of the 'Destroy Links' attribute.- See Also:
isDestroyLinks()
- Generated:
-
isDestroyOwnedObjects
boolean isDestroyOwnedObjects()
Returns the value of the 'Destroy Owned Objects' attribute. The default value is"false"
. Specifies whether objects owned by the object (via composition) are destroyed along with the object.- Returns:
- the value of the 'Destroy Owned Objects' attribute.
- See Also:
setDestroyOwnedObjects(boolean)
,com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getDestroyObjectAction_DestroyOwnedObjects()
- Model:
- default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
- Generated:
-
setDestroyOwnedObjects
void setDestroyOwnedObjects(boolean value)
Sets the value of the 'Destroy Owned Objects
' attribute.- Parameters:
value
- the new value of the 'Destroy Owned Objects' attribute.- See Also:
isDestroyOwnedObjects()
- Generated:
-
getTarget
@CheckForNull InputPin getTarget()
Returns the value of the 'Target' containment reference. It is bidirectional and its opposite is 'destroy Object Action Of Target
'. The InputPin providing the object to be destroyed.- Returns:
- the value of the 'Target' containment reference.
- See Also:
setTarget(InputPin)
,UMLPackage.getDestroyObjectAction_Target()
,InputPin.get_destroyObjectActionOfTarget()
- Model:
- opposite="_destroyObjectActionOfTarget" containment="true" resolveProxies="true" required="true" ordered="false"
- Generated:
-
setTarget
void setTarget(@CheckForNull InputPin value)
Sets the value of the 'Target
' containment reference.- Parameters:
value
- the new value of the 'Target' containment reference.- See Also:
getTarget()
- Generated:
-
-