public interface TimeEvent extends Event
From package UML::CommonBehavior.
The following features are supported:
UMLPackage.getTimeEvent()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
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 |
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.
|
validateNamespaceNeedsVisibility
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
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
getEAnnotation, getEAnnotations
boolean isRelative()
"false"
.
Specifies whether the TimeEvent is specified as an absolute or relative time.
From package UML::CommonBehavior.
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 time of the TimeEvent.From package UML::CommonBehavior.
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.