|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 | |
ValueSpecification |
createWhen(String name,
Type type,
EClass eClass)
Creates a new ValueSpecification, with the specified 'Name', and 'Type', and sets the 'When' containment reference |
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 |
boolean |
validateStartingTime(DiagnosticChain diagnostics,
Map 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(DiagnosticChain diagnostics,
Map context)
The ValueSpecification when must return a non-negative Integer. |
| Methods inherited from interface org.eclipse.uml2.uml.NamedElement |
allNamespaces, allOwningPackages, createDependency, createNameExpression, 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, 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 |
| Method Detail |
public boolean isRelative()
"false".
Specifies whether it is relative or absolute time.
TimeEvent.setIsRelative(boolean),
UMLPackage.getTimeEvent_IsRelative()public void setIsRelative(boolean value)
Is Relative' attribute.
value - the new value of the 'Is Relative' attribute.TimeEvent.isRelative()public ValueSpecification getWhen()
TimeEvent.setWhen(ValueSpecification),
UMLPackage.getTimeEvent_When()public void setWhen(ValueSpecification value)
When' containment reference.
value - the new value of the 'When' containment reference.TimeEvent.getWhen()
public ValueSpecification createWhen(String name,
Type type,
EClass eClass)
ValueSpecification, with the specified 'Name', and 'Type', and sets the 'When' containment reference.
name - The 'Name' for the new ValueSpecification, or null.type - The 'Type' for the new ValueSpecification, or null.eClass - The Ecore class of the ValueSpecification to create.
ValueSpecification.TimeEvent.getWhen()
public boolean validateWhenNonNegative(DiagnosticChain diagnostics,
Map context)
public boolean validateStartingTime(DiagnosticChain diagnostics,
Map context)
|
Copyright 2003, 2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||