public interface DurationConstraint extends IntervalConstraint
A DurationConstraint is a Constraint that refers to a DurationInterval.
The following features are supported:
UMLPackage.getDurationConstraint()
Modifier and Type | Method and Description |
---|---|
DurationInterval |
getSpecification()
Returns the value of the 'Specification' containment reference.
|
boolean |
hasFirstEvent() |
java.util.Collection<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. |
setSpecification
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
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
java.util.Collection<java.lang.Boolean> isFirstEvent()
Boolean
.
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].
UMLPackage.getDurationConstraint_FirstEvent()
@CheckForNull DurationInterval getSpecification()
.DurationInterval#get_durationConstraintOfSpecification duration Constraint Of Specification
'.
The DurationInterval constraining the duration.
getSpecification
in interface Constraint
getSpecification
in interface IntervalConstraint
setSpecification(DurationInterval)
,
UMLPackage.getDurationConstraint_Specification()
,
DurationInterval.get_durationConstraintOfSpecification()
void setSpecification(@CheckForNull DurationInterval value)
Specification
'
containment reference.
value
- the new value of the 'Specification' containment reference.getSpecification()
boolean hasFirstEvent() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException