org.eclipse.uml2
Interface DestroyObjectAction

All Superinterfaces:
Action, ActivityNode, Element, EModelElement, EObject, ExecutableNode, NamedElement, Notifier, RedefinableElement, TemplateableElement

public interface DestroyObjectAction
extends Action

A representation of the model object 'Destroy Object Action'. This action destroys the object on its input pin at runtime. The object may be a link object, in which case the semantics of DestroyLinkAction also applies.

The following features are supported:

See Also:
UML2Package.getDestroyObjectAction()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 InputPin createTarget(EClass eClass)
          Creates a InputPin and sets the 'Target' containment reference
 EList getInputs()
           
 InputPin getTarget()
          Returns the value of the 'Target' containment reference
 boolean isDestroyLinks()
          Returns the value of the 'Is Destroy Links' attribute.
 boolean isDestroyOwnedObjects()
          Returns the value of the 'Is Destroy Owned Objects' attribute.
 void setIsDestroyLinks(boolean value)
          Sets the value of the 'Is Destroy Links' attribute
 void setIsDestroyOwnedObjects(boolean value)
          Sets the value of the 'Is Destroy Owned Objects' attribute
 void setTarget(InputPin value)
          Sets the value of the 'Target' containment reference
 
Methods inherited from interface org.eclipse.uml2.Action
createLocalPostcondition, createLocalPrecondition, getContext, getEffect, getInput, getLocalPostcondition, getLocalPostconditions, getLocalPrecondition, getLocalPreconditions, getOutput, getOutputs, getOwnedElements, setEffect
 
Methods inherited from interface org.eclipse.uml2.ExecutableNode
createHandler, getHandlers
 
Methods inherited from interface org.eclipse.uml2.ActivityNode
getActivity, getIncoming, getIncomings, getInGroups, getInInterruptibleRegions, getInPartition, getInPartitions, getInStructuredNode, getOutgoing, getOutgoings, getOwner, getRedefinedElement, getRedefinedElements, setActivity, setInStructuredNode
 
Methods inherited from interface org.eclipse.uml2.RedefinableElement
getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.TemplateableElement
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

isDestroyLinks

public boolean isDestroyLinks()
Returns the value of the 'Is Destroy Links' attribute. The default value is "false".

If the meaning of the 'Is Destroy Links' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Is Destroy Links' attribute.
See Also:
setIsDestroyLinks(boolean), UML2Package.getDestroyObjectAction_IsDestroyLinks()

setIsDestroyLinks

public void setIsDestroyLinks(boolean value)
Sets the value of the 'Is Destroy Links' attribute.

Parameters:
value - the new value of the 'Is Destroy Links' attribute.
See Also:
isDestroyLinks()

isDestroyOwnedObjects

public boolean isDestroyOwnedObjects()
Returns the value of the 'Is Destroy Owned Objects' attribute. The default value is "false".

If the meaning of the 'Is Destroy Owned Objects' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Is Destroy Owned Objects' attribute.
See Also:
setIsDestroyOwnedObjects(boolean), UML2Package.getDestroyObjectAction_IsDestroyOwnedObjects()

setIsDestroyOwnedObjects

public void setIsDestroyOwnedObjects(boolean value)
Sets the value of the 'Is Destroy Owned Objects' attribute.

Parameters:
value - the new value of the 'Is Destroy Owned Objects' attribute.
See Also:
isDestroyOwnedObjects()

getTarget

public InputPin getTarget()
Returns the value of the 'Target' containment reference.

If the meaning of the 'Target' containment reference isn't clear, there really should be more of a description here...

(Specialized from Action:input) The input pin providing the object to be destroyed.

Returns:
the value of the 'Target' containment reference.
See Also:
setTarget(InputPin), UML2Package.getDestroyObjectAction_Target()

setTarget

public void setTarget(InputPin value)
Sets the value of the 'Target' containment reference.

Parameters:
value - the new value of the 'Target' containment reference.
See Also:
getTarget()

createTarget

public InputPin createTarget(EClass eClass)
Creates a InputPin and sets the 'Target' containment reference.

Parameters:
eClass - The Ecore class of the InputPin to create.
Returns:
The new InputPin.
See Also:
getTarget()

getInputs

public EList getInputs()

Specified by:
getInputs in interface Action
Returns:
the value of the 'Input' reference list.
See Also:
UML2Package.getAction_Input()

Copyright 2003, 2004 IBM Corporation and others.
All Rights Reserved.