org.eclipse.uml2.uml
Interface TimeConstraint
- All Superinterfaces:
- Constraint, Element, EModelElement, EObject, IntervalConstraint, NamedElement, Notifier, PackageableElement, ParameterableElement
- public interface TimeConstraint
- extends IntervalConstraint
A representation of the model object 'Time Constraint'.
A time constraint is a constraint that refers to a time interval.
The following features are supported:
- See Also:
UMLPackage.getTimeConstraint()
Methods inherited from interface org.eclipse.uml2.uml.Constraint |
createSpecification, getConstrainedElements, getContext, getSpecification, setContext, setSpecification, validateBooleanValue, validateNoSideEffects, validateNotAppliedToSelf, validateNotApplyToSelf, validateValueSpecificationBoolean |
Methods inherited from interface org.eclipse.uml2.uml.NamedElement |
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership |
Methods inherited from interface org.eclipse.uml2.uml.Element |
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
isFirstEvent
public boolean isFirstEvent()
- Returns the value of the 'First Event' attribute.
The default value is
"true"
.
The value of firstEvent is related to constrainedElement. If firstEvent is true, then the corresponding observation event is the first time instant the execution enters constrainedElement. If firstEvent is false, then the corresponding observation event is the last time instant the execution is within constrainedElement.
- Returns:
- the value of the 'First Event' attribute.
- See Also:
TimeConstraint.setFirstEvent(boolean)
,
UMLPackage.getTimeConstraint_FirstEvent()
setFirstEvent
public void setFirstEvent(boolean value)
- Sets the value of the '
First Event
' attribute.
- Parameters:
value
- the new value of the 'First Event' attribute.- See Also:
TimeConstraint.isFirstEvent()