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 java.lang.String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 Duration createDuration()
          Creates a Duration and appends it to the 'Duration' containment reference list
 Duration createDuration(EClass eClass)
          Deprecated. Use #createDuration() instead.
 Duration getDuration(java.lang.String name)
          Retrieves the Duration with the specified 'Name' from the 'Duration' containment reference list
 EList getDurations()
          Returns the value of the 'Duration' containment reference list.
 
Methods inherited from interface org.eclipse.uml2.WriteStructuralFeatureAction
createValue, createValue, getValue, setValue
 
Methods inherited from interface org.eclipse.uml2.StructuralFeatureAction
createObject, createObject, getObject, getStructuralFeature, setObject, setStructuralFeature
 
Methods inherited from interface org.eclipse.uml2.Action
createLocalPostcondition, createLocalPostcondition, createLocalPrecondition, createLocalPrecondition, getContext, getEffect, getInput, getInputs, getLocalPostcondition, getLocalPostconditions, getLocalPrecondition, getLocalPreconditions, getOutput, getOutputs, setEffect
 
Methods inherited from interface org.eclipse.uml2.ExecutableNode
createHandler, createHandler, getHandlers
 
Methods inherited from interface org.eclipse.uml2.ActivityNode
getActivity, getIncoming, getIncomings, getInGroups, getInInterruptibleRegions, getInPartition, getInPartitions, getInStructuredNode, getOutgoing, getOutgoings, 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, createDependency, createNameExpression, createNameExpression, getClientDependencies, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.TemplateableElement
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getValue, hasKeyword, hasValue, 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 java.lang.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(java.lang.String name)
Retrieves the Duration with the specified 'Name' from the 'Duration' containment reference list.

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

createDuration

public Duration createDuration(EClass eClass)
Deprecated. Use #createDuration() instead.

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()

createDuration

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

Returns:
The new Duration.
See Also:
getDurations()

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