Interface DurationConstraint
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Constraint
,Element
,org.eclipse.emf.ecore.EObject
,IntervalConstraint
,MDObject
,ModelObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,PackageableElement
,ParameterableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
public interface DurationConstraint extends IntervalConstraint
A representation of the model object 'Duration Constraint'.A DurationConstraint is a Constraint that refers to a DurationInterval.
The following features are supported:
- See Also:
UMLPackage.getDurationConstraint()
- Model:
- annotation="MOF package='commonbehaviors.mdsimpletime'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DurationInterval
getSpecification()
Returns the value of the 'Specification' containment reference.boolean
hasFirstEvent()
java.util.List<java.lang.Boolean>
isFirstEvent()
Returns the value of the 'First Event' attribute list.void
setSpecification(DurationInterval value)
Sets the value of the 'Specification
' containment reference.-
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.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, setSpecification
-
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.uml2.ext.magicdraw.commonbehaviors.mdsimpletime.IntervalConstraint
setSpecification
-
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.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
java.util.List<java.lang.Boolean> isFirstEvent()
Returns the value of the 'First Event' attribute list. The list contents are of typeBoolean
. The value of firstEvent[i] is related to constrainedElement[i] (where i is 1 or 2). If firstEvent[i] is true, then the corresponding observation event is the first time instant the execution enters constrainedElement[i]. If firstEvent[i] is false, then the corresponding observation event is the last time instant the execution is within constrainedElement[i].- Returns:
- the value of the 'First Event' attribute list.
- See Also:
UMLPackage.getDurationConstraint_FirstEvent()
- Model:
- dataType="com.nomagic.uml2.ext.magicdraw.Boolean" upper="2" ordered="true"
- Generated:
-
getSpecification
@CheckForNull DurationInterval getSpecification()
Returns the value of the 'Specification' containment reference. It is bidirectional and its opposite is '.DurationInterval#get_durationConstraintOfSpecification duration Constraint Of Specification
'. The DurationInterval constraining the duration.- Specified by:
getSpecification
in interfaceConstraint
- Specified by:
getSpecification
in interfaceIntervalConstraint
- Returns:
- the value of the 'Specification' containment reference.
- See Also:
setSpecification(DurationInterval)
,UMLPackage.getDurationConstraint_Specification()
,DurationInterval.get_durationConstraintOfSpecification()
- Model:
- opposite="_durationConstraintOfSpecification" containment="true" resolveProxies="true" required="true" ordered="false"
- Generated:
-
setSpecification
void setSpecification(@CheckForNull DurationInterval value)
Sets the value of the 'Specification
' containment reference.- Parameters:
value
- the new value of the 'Specification' containment reference.- See Also:
getSpecification()
- Generated:
-
hasFirstEvent
boolean hasFirstEvent() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-