org.eclipse.uml2
Interface TimeObservationAction

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

public interface TimeObservationAction
extends WriteStructuralFeatureAction

A representation of the model object 'Time Observation Action'. A TimeObservationAction defines an action that observes the current point in time.

The following features are supported:

See Also:
UML2Package.getTimeObservationAction()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 TimeExpression createNow(EClass eClass)
          Creates a TimeExpression and appends it to the 'Now' containment reference list
 TimeExpression getNow(String unqualifiedName)
          Retrieves the TimeExpression with the specified name from the 'Now' containment reference list
 EList getNows()
          Returns the value of the 'Now' 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

getNows

public EList getNows()
Returns the value of the 'Now' containment reference list. The list contents are of type TimeExpression.

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

Represents the current point in time.

Returns:
the value of the 'Now' containment reference list.
See Also:
UML2Package.getTimeObservationAction_Now()

getNow

public TimeExpression getNow(String unqualifiedName)
Retrieves the TimeExpression with the specified name from the 'Now' containment reference list.

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

createNow

public TimeExpression createNow(EClass eClass)
Creates a TimeExpression and appends it to the 'Now' containment reference list.

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

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.