public interface TimeObservation extends Observation
A TimeObservation is a reference to a time instant during an execution. It points out the NamedElement in the model to observe and whether the observation is when this NamedElement is entered or when it is exited.
The following features are supported:
UMLPackage.getTimeObservation()
Modifier and Type | Method and Description |
---|---|
NamedElement |
getEvent()
Returns the value of the 'Event' reference.
|
boolean |
isFirstEvent()
Returns the value of the 'First Event' attribute.
|
void |
setEvent(NamedElement value)
Sets the value of the '
Event ' reference. |
void |
setFirstEvent(boolean value)
Sets the value of the '
First Event ' attribute. |
get_durationOfObservation, get_timeExpressionOfObservation, getBehavior, set_durationOfObservation, set_timeExpressionOfObservation, setBehavior
get_componentOfPackagedElement, get_elementImportOfImportedElement, get_manifestationOfUtilizedElement, getOwningPackage, getVisibility, has_elementImportOfImportedElement, has_manifestationOfUtilizedElement, set_componentOfPackagedElement, setOwningPackage, setVisibility
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace
get_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, getTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameter
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElement
get_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalID
getID, getMDExtension, getMdExtensions, setID
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
boolean isFirstEvent()
"true"
.
The value of firstEvent is related to the event. If firstEvent is true, then the corresponding observation event is the first time instant the execution enters
the event Element. If firstEvent is false, then the corresponding observation event is the time instant the execution exits the event Element.
setFirstEvent(boolean)
,
UMLPackage.getTimeObservation_FirstEvent()
void setFirstEvent(boolean value)
First Event
' attribute.
value
- the new value of the 'First Event' attribute.isFirstEvent()
@CheckForNull NamedElement getEvent()
time Observation Of Event
'.
The TimeObservation is determined by the entering or exiting of the event Element during execution.
setEvent(NamedElement)
,
UMLPackage.getTimeObservation_Event()
,
NamedElement.get_timeObservationOfEvent()
void setEvent(@CheckForNull NamedElement value)
Event
' reference.
value
- the new value of the 'Event' reference.getEvent()