org.eclipse.uml2
Interface TimeTrigger

All Superinterfaces:
Element, EModelElement, EObject, NamedElement, Notifier, TemplateableElement, Trigger

public interface TimeTrigger
extends Trigger

A representation of the model object 'Time Trigger'. A time trigger specifies a time event, which models the expiration of a specific deadline.

The following features are supported:

See Also:
UML2Package.getTimeTrigger()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 ValueSpecification createWhen(EClass eClass)
          Creates a ValueSpecification and sets the 'When' containment reference
 EList getOwnedElements()
           
 ValueSpecification getWhen()
          Returns the value of the 'When' containment reference
 boolean isRelative()
          Returns the value of the 'Is Relative' attribute
 void setIsRelative(boolean value)
          Sets the value of the 'Is Relative' attribute
 void setWhen(ValueSpecification value)
          Sets the value of the 'When' containment reference
 
Methods inherited from interface org.eclipse.uml2.Trigger
getPort, getPorts
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, getOwner, 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

isRelative

public boolean isRelative()
Returns the value of the 'Is Relative' attribute.

If the meaning of the 'Is Relative' attribute isn't clear, there really should be more of a description here...

Specifies whether it is relative or absolute time.

Returns:
the value of the 'Is Relative' attribute.
See Also:
setIsRelative(boolean), UML2Package.getTimeTrigger_IsRelative()

setIsRelative

public void setIsRelative(boolean value)
Sets the value of the 'Is Relative' attribute.

Parameters:
value - the new value of the 'Is Relative' attribute.
See Also:
isRelative()

getWhen

public ValueSpecification getWhen()
Returns the value of the 'When' containment reference.

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

Specifies the corresponding time deadline.

Returns:
the value of the 'When' containment reference.
See Also:
setWhen(ValueSpecification), UML2Package.getTimeTrigger_When()

setWhen

public void setWhen(ValueSpecification value)
Sets the value of the 'When' containment reference.

Parameters:
value - the new value of the 'When' containment reference.
See Also:
getWhen()

createWhen

public ValueSpecification createWhen(EClass eClass)
Creates a ValueSpecification and sets the 'When' containment reference.

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

getOwnedElements

public EList getOwnedElements()

Specified by:
getOwnedElements in interface NamedElement

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