|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TimeEvent
A representation of the model object 'Time Event'. A time event specifies a point in time. At the specified time, the event occurs. A time event can be defined relative to entering the current state of the executing state machine.
The following features are supported:
UMLPackage.getTimeEvent()| Field Summary |
|---|
| Fields inherited from interface org.eclipse.uml2.uml.NamedElement |
|---|
SEPARATOR |
| Method Summary | |
|---|---|
TimeExpression |
createWhen(java.lang.String name,
Type type)
Creates a new TimeExpression,with the specified 'Name', and 'Type', and sets the 'When' containment reference |
TimeExpression |
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(TimeExpression value)
Sets the value of the ' When' containment reference |
boolean |
validateStartingTime(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The starting time for a relative time event may only be omitted for a time event that is the trigger of a state machine. |
boolean |
validateWhenNonNegative(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The ValueSpecification when must return a non-negative Integer. |
| Methods inherited from interface org.eclipse.uml2.uml.NamedElement |
|---|
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership |
| 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, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.uml2.uml.ParameterableElement |
|---|
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter |
| 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, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Method Detail |
|---|
boolean isRelative()
"false".
Specifies whether it is relative or absolute time.
setIsRelative(boolean),
UMLPackage.getTimeEvent_IsRelative()void setIsRelative(boolean value)
Is Relative' attribute.
value - the new value of the 'Is Relative' attribute.isRelative()TimeExpression getWhen()
This feature subsets the following features:
Specifies the corresponding time deadline.
setWhen(TimeExpression),
UMLPackage.getTimeEvent_When()void setWhen(TimeExpression value)
When' containment reference.
value - the new value of the 'When' containment reference.getWhen()
TimeExpression createWhen(java.lang.String name,
Type type)
TimeExpression,with the specified 'Name', and 'Type', and sets the 'When' containment reference.
name - The 'Name' for the new TimeExpression, or null.type - The 'Type' for the new TimeExpression, or null.
TimeExpression.getWhen()
boolean validateWhenNonNegative(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
boolean validateStartingTime(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
|
Copyright 2003, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||