org.eclipse.uml2
Interface DurationObservationAction

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

public interface DurationObservationAction
extends WriteStructuralFeatureAction

A representation of the model object 'Duration Observation Action'. A DurationObservationAction defines an action that observes duration in time.

The following features are supported:

See Also:
UML2Package.getDurationObservationAction()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 Duration createDuration(EClass eClass)
          Creates a Duration and appends it to the 'Duration' containment reference list
 Duration getDuration(String unqualifiedName)
          Retrieves the Duration with the specified name from the 'Duration' containment reference list
 EList getDurations()
          Returns the value of the 'Duration' containment reference list.
 InputPin getValue()
           
 void setValue(InputPin value)
           
 
Methods inherited from interface org.eclipse.uml2.WriteStructuralFeatureAction
createValue, getInputs
 
Methods inherited from interface org.eclipse.uml2.StructuralFeatureAction
createObject, getObject, getStructuralFeature, setObject, setStructuralFeature
 
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

getDurations

public EList getDurations()
Returns the value of the 'Duration' containment reference list. The list contents are of type Duration.

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

represent the measured Duration

Returns:
the value of the 'Duration' containment reference list.
See Also:
UML2Package.getDurationObservationAction_Duration()

getDuration

public Duration getDuration(String unqualifiedName)
Retrieves the Duration with the specified name from the 'Duration' containment reference list.

Parameters:
unqualifiedName - The unqualified name of the Duration to retrieve.
Returns:
The Duration with the specified name, or null.
See Also:
getDurations()

createDuration

public Duration createDuration(EClass eClass)
Creates a Duration and appends it to the 'Duration' containment reference list.

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

getValue

public InputPin getValue()

Specified by:
getValue in interface WriteStructuralFeatureAction
Returns:
the value of the 'Value' containment reference.
See Also:
WriteStructuralFeatureAction.setValue(InputPin), UML2Package.getWriteStructuralFeatureAction_Value()

setValue

public void setValue(InputPin value)

Specified by:
setValue in interface WriteStructuralFeatureAction
Parameters:
value - the new value of the 'Value' containment reference.
See Also:
WriteStructuralFeatureAction.getValue()

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