SysML, UAF, UML, and UPDM Profiles > SysML profile > Constraint blocks > Constraint properties > Constraint property (SysML item)
  
Constraint property (SysML item)
Constraint Properties allow you to bind the Constraint Parameters of a Constraint Block to Block Properties of type Value on a Parametric Diagram.
Create a Constraint Property in the following ways:
In a Modeler pane, right-click the Constraint Block that is to own Constraint Property, point to New, point to SysML, and then click Constraint Property.
On a Parametric Diagram:
On the diagram's toolbar, click the Constraint Property button, and then click in free space.
Drag the Constraint Block that is to type the Constraint Property from an appropriate pane to free space on the diagram.
On a Block Definition Diagram, create a Composition between two Constraint Blocks.
On creating a Constraint Property, Constraints that are applied to the Constraint Property's type are also applied to the Constraint Property.
To specify the multiplicity of a Constraint Property: right-click the Constraint Property, point to Set, and then click Multiplicity. The multiplicity of a Constraint Property is shown on the Options tab of the Constraint Property's Property Pages.
To specify whether a Constraint Property is read only or not: right-click the Constraint Property, point to Set, and then click Read Only. The read only status of a Constraint Property is shown on the Options tab of the Constraint Property's Property Pages.
To specify that a Constraint Property is an objective function: apply the «objectiveFunction» stereotype to the Constraint Property.
To change the type of a Constraint Property: right-click the Constraint Property, point to Set, and then click Type, Type (Redefinition Only) or Type (Top Level Definition). The type of a Constraint Property is shown on the Data Type tab of the Constraint Property's Property Pages.
When shown on a Parametric Diagram, a Constraint Property's default notation is as follows:
You can add existing Constraint Properties to a Parametric Diagram in the following ways:
Right-click the diagram background, point to Populate, point to Nodes, and then click Constraint Properties. This adds all Constraint Properties that are directly owned by the item that owns the Parametric Diagram.
Click the Constraint Property button, right-click in free space, and then select the Constraint Property you want add. This adds a selected Constraint Property that is directly owned by the item that owns the Parametric Diagram.
Drag the Constraint Property, which can be a nested Constraint Property, from an appropriate pane to the Parametric Diagram.
On a Block Definition Diagram, a Constraint Block's Constraint Properties can be shown as Aggregations and Compositions.
A Constraint Property is a UML Attribute or Role that is stereotyped by the «ConstraintProperty» stereotype from the SysML profile.
The following sections provide information about how a Constraint Property is used in the model. For more information about a SysML diagram or item - click it.
Owned by
Constraint Block
Block
Owns
Allocate - the Allocate is owned jointly by the Constraint Property and the associated item. The access permissions you have to an Allocate are determined by the access permissions you have to the item that is allocated from - you require write access to both items to create or delete an Allocate.
Problem
Rationale
Refine (UML Standard profile) - the Refine relationship is owned jointly by the Constraint Property and the associated item. The access permissions you have to a Refine relationship are determined by the access permissions you have to the refined item.
Satisfy - the Satisfy relationship is owned jointly by the Constraint Property and the associated Requirement. The access permissions you have to a Satisfy relationship are determined by the access permissions you have to the Constraint Property.
Trace (UML Standard profile) - the Trace relationship is owned jointly by the Constraint Property and the associated item. The access permissions you have to a Trace relationship are determined by the access permissions you have to the item that is traced from.
Verify - the Verify relationship is owned jointly by the Constraint Property and the associated Requirement. The access permissions you have to a Verify relationship are determined by the access permissions you have to the Constraint Property.
Shown on these diagrams
Block Definition Diagram
Parametric Diagram
SysML Properties
allocatedFrom - lists source items that are linked through Allocate relationships (on Allocated tab when item is allocated).
allocatedTo - lists target items that are linked through Allocate relationships (on Allocated tab when item is allocated).
constraints - lists Constraints that the Constraint Property owns.