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

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(java.lang.String name)
Retrieves the TimeExpression with the specified 'Name' from the 'Now' containment reference list.

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

createNow

public TimeExpression createNow(EClass eClass)
Deprecated. Use #createNow() instead.

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

createNow

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

Returns:
The new TimeExpression.
See Also:
getNows()

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