Architecting and designing > SysML > Model Elements > Constraints > TimeConstraint
  
TimeConstraint
A TimeConstraint defines an IntervalConstraint on a Classifier (constrainedElement) in which the constraining Interval is a TimeInterval.
Note Structural modeling constructs of SysML are used to model the properties of entities at specific points in time. In contrast, behavioral modeling constructs are used to model how these properties change over time.
How to specify a Time Constraint
1 Create the TimeConstraint as a definition through the Explorer or by drawing an TimeConstraint on a diagram.
2 Create a Constraint to ConstrainedElement relationship between the TimeConstraint and a Classifier – in this example to the class Baseball Player – either by drawing the relationship on a diagram or by specifying the ConstrainedElement (in this case the class BaseballPlayer) in Constraint tab of the TimeConstraint definition.
3 In the TimeConstraint definition, create its Specification – which is a TimeInterval definition.
This graphic is described in the surrounding text.
4 Specify the max value and the min value of the TimeInterval. In the example below, a TimeInterval of “Age < 55” is specified for the max and a TimeInterval of “Age >= 17” is specified for the min.
This graphic is described in the surrounding text.
See also
(Ordinary) Constraint
DurationConstraint
InteractionConstraint
IntervalConstraint
Go up to
Constraints