Interface TimeObservation
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,ModelObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,Observation
,PackageableElement
,ParameterableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
public interface TimeObservation extends Observation
A representation of the model object 'Time 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:
- See Also:
UMLPackage.getTimeObservation()
- Model:
- annotation="MOF package='commonbehaviors.mdsimpletime'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, atInsert, canAdd, canAdd, canAddChild, canAddInstance, canBeDeleted, canChangeParent, canDeleteChild, clone, dispose, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, isParentOf, removeAllPropertyChangeListeners, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
-
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 com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
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
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.commonbehaviors.mdsimpletime.Observation
get_durationOfObservation, get_timeExpressionOfObservation, getBehavior, set_durationOfObservation, set_timeExpressionOfObservation, setBehavior
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.PackageableElement
get_componentOfPackagedElement, get_elementImportOfImportedElement, get_manifestationOfUtilizedElement, getOwningPackage, getVisibility, has_elementImportOfImportedElement, has_manifestationOfUtilizedElement, set_componentOfPackagedElement, setOwningPackage, setVisibility
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.ParameterableElement
get_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, getTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameter
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
-
-
-
Method Detail
-
isFirstEvent
boolean isFirstEvent()
Returns the value of the 'First Event' attribute. The default value is"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.- Returns:
- the value of the 'First Event' attribute.
- See Also:
setFirstEvent(boolean)
,UMLPackage.getTimeObservation_FirstEvent()
- Model:
- default="true" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
- Generated:
-
setFirstEvent
void setFirstEvent(boolean value)
Sets the value of the 'First Event
' attribute.- Parameters:
value
- the new value of the 'First Event' attribute.- See Also:
isFirstEvent()
- Generated:
-
getEvent
@CheckForNull NamedElement getEvent()
Returns the value of the 'Event' reference. It is bidirectional and its opposite is 'time Observation Of Event
'. The TimeObservation is determined by the entering or exiting of the event Element during execution.- Returns:
- the value of the 'Event' reference.
- See Also:
setEvent(NamedElement)
,UMLPackage.getTimeObservation_Event()
,NamedElement.get_timeObservationOfEvent()
- Model:
- opposite="_timeObservationOfEvent" required="true" ordered="false"
- Generated:
-
setEvent
void setEvent(@CheckForNull NamedElement value)
Sets the value of the 'Event
' reference.- Parameters:
value
- the new value of the 'Event' reference.- See Also:
getEvent()
- Generated:
-
-