org.eclipse.uml2
Interface CreateObjectAction

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

public interface CreateObjectAction
extends Action

A representation of the model object 'Create Object Action'. This action instantiates a classifier.

The following features are supported:

See Also:
UML2Package.getCreateObjectAction()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 OutputPin createResult(EClass eClass)
          Creates a OutputPin and sets the 'Result' containment reference
 Classifier getClassifier()
          Returns the value of the 'Classifier' reference
 EList getOutputs()
           
 OutputPin getResult()
          Returns the value of the 'Result' containment reference
 void setClassifier(Classifier value)
          Sets the value of the 'Classifier' reference
 void setResult(OutputPin value)
          Sets the value of the 'Result' containment reference
 
Methods inherited from interface org.eclipse.uml2.Action
createLocalPostcondition, createLocalPrecondition, getContext, getEffect, getInput, getInputs, getLocalPostcondition, getLocalPostconditions, getLocalPrecondition, getLocalPreconditions, getOutput, 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

getClassifier

public Classifier getClassifier()
Returns the value of the 'Classifier' reference.

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

Classifier to be instantiated.

Returns:
the value of the 'Classifier' reference.
See Also:
setClassifier(Classifier), UML2Package.getCreateObjectAction_Classifier()

setClassifier

public void setClassifier(Classifier value)
Sets the value of the 'Classifier' reference.

Parameters:
value - the new value of the 'Classifier' reference.
See Also:
getClassifier()

getResult

public OutputPin getResult()
Returns the value of the 'Result' containment reference.

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

(Specialized from Action:output) Gives the output pin on which the result is put.

Returns:
the value of the 'Result' containment reference.
See Also:
setResult(OutputPin), UML2Package.getCreateObjectAction_Result()

setResult

public void setResult(OutputPin value)
Sets the value of the 'Result' containment reference.

Parameters:
value - the new value of the 'Result' containment reference.
See Also:
getResult()

createResult

public OutputPin createResult(EClass eClass)
Creates a OutputPin and sets the 'Result' containment reference.

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

getOutputs

public EList getOutputs()

Specified by:
getOutputs in interface Action
Returns:
the value of the 'Output' reference list.
See Also:
UML2Package.getAction_Output()

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