Interface TimeConstraint
- All Superinterfaces:
BaseElement,Cloneable,Comparable,Constraint,Element,org.eclipse.emf.ecore.EObject,IntervalConstraint,MDObject,com.dassault_systemes.modeler.foundation.model.ModelElement,ModelObject,NamedElement,org.eclipse.emf.common.notify.Notifier,PackageableElement,ParameterableElement,javax.jmi.reflect.RefBaseObject,javax.jmi.reflect.RefFeatured,javax.jmi.reflect.RefObject
A representation of the model object 'Time Constraint'.
A TimeConstraint is a Constraint that refers to a TimeInterval.
The following features are supported:
- See Also:
- Model:
- annotation="MOF package='commonbehaviors.mdsimpletime'"
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Specification' containment reference.booleanReturns the value of the 'First Event' attribute.voidsetFirstEvent(boolean value) Sets the value of the 'First Event' attribute.voidsetSpecification(TimeInterval value) Sets the value of the 'Specification' containment reference.Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, isEditable, removePropertyChangeListener, sGetIDMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Constraint
get_actionOfLocalPostcondition, get_actionOfLocalPrecondition, get_behaviorOfPostcondition, get_behaviorOfPrecondition, get_extendOfCondition, get_messageOfGuard, get_parameterSetOfCondition, get_protocolTransitionOfPreCondition, get_stateInvariantOfInvariant, get_transitionOfGuard, getBodyContext, getConstrainedElement, getContext, getOwningState, getOwningTransition, getPostContext, getPreContext, hasConstrainedElement, set_actionOfLocalPostcondition, set_actionOfLocalPrecondition, set_behaviorOfPostcondition, set_behaviorOfPrecondition, set_extendOfCondition, set_messageOfGuard, set_parameterSetOfCondition, set_protocolTransitionOfPreCondition, set_stateInvariantOfInvariant, set_transitionOfGuard, setBodyContext, setContext, setOwningState, setOwningTransition, setPostContext, setPreContext, setSpecificationMethods 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, setSyncElementMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface com.nomagic.uml2.ext.magicdraw.commonbehaviors.mdsimpletime.IntervalConstraint
setSpecificationMethods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setIDMethods inherited from interface com.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, setLocalID, sGetLocalIDMethods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationTextMethods 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, setNamespaceMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods 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, setVisibilityMethods 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, setTemplateParameterMethods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraintsMethods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValueMethods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
-
Method Details
-
isFirstEvent
boolean isFirstEvent()Returns the value of the 'First Event' attribute. The default value is"true". The value of firstEvent is related to the constrainedElement. If firstEvent is true, then the corresponding observation event is the first time instant the execution enters the constrainedElement. If firstEvent is false, then the corresponding observation event is the last time instant the execution is within the constrainedElement.- Returns:
- the value of the 'First Event' attribute.
- See Also:
- Model:
- default="true" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" 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:
- Generated:
-
getSpecification
Returns the value of the 'Specification' containment reference. It is bidirectional and its opposite is 'time Constraint Of Specification'. TheTimeInterval constraining the duration.- Specified by:
getSpecificationin interfaceConstraint- Specified by:
getSpecificationin interfaceIntervalConstraint- Returns:
- the value of the 'Specification' containment reference.
- See Also:
- Model:
- opposite="_timeConstraintOfSpecification" containment="true" resolveProxies="true" required="true" ordered="false"
- Generated:
-
setSpecification
Sets the value of the 'Specification' containment reference.- Parameters:
value- the new value of the 'Specification' containment reference.- See Also:
- Generated:
-