org.eclipse.uml2
Interface StructuralFeatureAction

All Superinterfaces:
Action, ActivityNode, Element, EModelElement, EObject, ExecutableNode, NamedElement, Notifier, RedefinableElement, TemplateableElement
All Known Subinterfaces:
AddStructuralFeatureValueAction, ClearStructuralFeatureAction, DurationObservationAction, ReadStructuralFeatureAction, RemoveStructuralFeatureValueAction, TimeObservationAction, WriteStructuralFeatureAction

public interface StructuralFeatureAction
extends Action

A representation of the model object 'Structural Feature Action'. This abstract action class statically specifies the structural feature being accessed. The object to access is specified dynamically, by referring to an input pin on which the object will be placed at runtime. The type of the value of this pin is the classifier that owns the specified structural feature, and the value�s multiplicity is 1..1.

The following features are supported:

See Also:
UML2Package.getStructuralFeatureAction()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 InputPin createObject(EClass eClass)
          Creates a InputPin and sets the 'Object' containment reference
 EList getInputs()
           
 InputPin getObject()
          Returns the value of the 'Object' containment reference
 StructuralFeature getStructuralFeature()
          Returns the value of the 'Structural Feature' reference
 void setObject(InputPin value)
          Sets the value of the 'Object' containment reference
 void setStructuralFeature(StructuralFeature value)
          Sets the value of the 'Structural Feature' 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

getStructuralFeature

public StructuralFeature getStructuralFeature()
Returns the value of the 'Structural Feature' reference.

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

Structural feature to be read.

Returns:
the value of the 'Structural Feature' reference.
See Also:
setStructuralFeature(StructuralFeature), UML2Package.getStructuralFeatureAction_StructuralFeature()

setStructuralFeature

public void setStructuralFeature(StructuralFeature value)
Sets the value of the 'Structural Feature' reference.

Parameters:
value - the new value of the 'Structural Feature' reference.
See Also:
getStructuralFeature()

getObject

public InputPin getObject()
Returns the value of the 'Object' containment reference.

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

(Specialized from Action:input) Gives the input pin from which the object whose structural feature is to be read or written is obtained.

Returns:
the value of the 'Object' containment reference.
See Also:
setObject(InputPin), UML2Package.getStructuralFeatureAction_Object()

setObject

public void setObject(InputPin value)
Sets the value of the 'Object' containment reference.

Parameters:
value - the new value of the 'Object' containment reference.
See Also:
getObject()

createObject

public InputPin createObject(EClass eClass)
Creates a InputPin and sets the 'Object' containment reference.

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

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.