SysML, UAF, UML, and UPDM Profiles > SysML profile > SysML items > Value type (SysML item)
  
Value type (SysML item)
A type that defines values that may be used to express information about a system.
Create a Block through a Modeler explorer pane or a Block Definition Diagram:
In a Modeler pane, right-click the Model or Package that is to own the Value Type, point to New, point to SysML, point to Structure, point to Value Type, and then click the command for the type of Value Type you want to create.
In a Modeler pane, right-click the Block that is to own the Value Type, point to New, point to SysML, point to Value Type, and then click the Value Type command for the type of Value Type you want to create.
The following commands and types are available:
Alias
Array
Basic Type - cannot be Block owned.
Data Type
Enumeration
Sequence
On a Block Definition Diagram, click the appropriate Value Type button, and then click in free space. The following toolbar buttons are available:
Value Type (Alias)
Value Type (Array)
Value Type (Basic Type)
Value Type (Data Type)
Value Type (Enumeration)
Value Type (Sequence)
To specify a new property for the Value Type (Data Type): right-click the Value Type, point to New, point to SysML, and click Property. In the Select Type window, select the type of property to set for the Value Type (Data Type).
To specify the Quantity Kind of a Value Type: right-click the Value Type, point to Links, and then click Quantity Kind (if the Value Type already has a Quantity Kind, that Quantity Kind is replaced). The selected Quantity Kind is shown on the ValueType tab of the Value Type's property pages.
To specify the Unit of a Value Type: right-click the Value Type, point to Links, and then click Unit (if the Value Type already has a Unit, that Unit is replaced). The selected Unit is shown on the ValueType tab of the Value Type's property pages.
To create an Enumeration Literal for a Value Type (Enumeration) item: right-click the Value Type (Enumeration), point to New, point to SysML, and then click Enumeration Literal.
When shown on a Block Definition Diagram, a Value Type's notation is as follows.
To populate a Block Definition Diagram with Value Types that are in the same Package as the diagram: on the diagram, right-click in free space, point to Populate, point to Nodes, point to Value Type, and then click the required command for the type of Value Type you want to populate.
You can right-click a Value Type on a Block Definition Diagram, and through the commands on the Populate submenu, populate links that exist between the Value Type and other items.
You can view the Value Types defined in the Model through the Blocks pane - expand the required Value Type folder. You can expand a Value Type to see if a Quantity Kind or Unit has been set up for the Value Type.
A Value Type can be used as a type for Flow Properties, Flow Ports and Block Properties of type Value.
Note that the SysML profile includes standard SI Definition Value Types that you can use, such as kg, m and N - the SI Definition Units are provided in sub-Packages of the SI Definitions package.
A Value Type is based on a Basic Type, Data Type or Type Definition:
A Value Type (Basic Type) is a UML Basic Type that is stereotyped by the «ValueType (BasicType)» stereotype from the SysML profile.
A Value Type (Data Type) is a UML Data Type that is stereotyped by the «ValueType (DataType)» stereotype from the SysML profile.
A Value Type (Alias), Value Type (Array), Value Type (Enumeration) or Value Type (Sequence) is a UML Type Definition that is stereotyped by the «ValueType (Alias)», «ValueType (Array)», «ValueType (Enumeration)» or «ValueType (Sequence)» stereotype from the SysML profile.
You can add Associations between multiple Value types (Data type). You can also add Associations between Value types (Data type) and other kinds of Value types, for example, a Value type (Data type) association with Value type (Enumeration) or a Value type (alias).
The following sections provide information about how a Value Type is used in the model. For more information about a SysML diagram or item - click it.
Owned by
Block
Model (UML item)
Package (UML item)
Owns
Aggregation (UML Association) - the Aggregation is owned jointly by the Value Type and the associated Value Type. The access permissions you have to an Aggregation are determined by the access permissions you have to the parent Value Type.
Allocate - the Allocate is owned jointly by the Value Type 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.
Attribute (UML item) - applies only to Value Type (Data Type)
Composition (UML Association) - the Composition is owned jointly by the Value Type and the associated Value Type. The access permissions you have to a Composition are determined by the access permissions you have to the parent Value Type.
Generalization (UML item) - the Generalization is owned jointly by the two Value Types it links. The access permissions you have to a Generalization are determined by the access permissions you have to the sub Value Type.
Item Flow - when the Value Type is used as the Item Flow's conveyed classifier (deleting the Value Type results in the Item Flow being deleted).
Operation (UML item) - applies only to Value Type (Data Type)
Refine (UML Standard profile) - the Refine relationship is owned jointly by the Value Type 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 Value Type and the associated Requirement. The access permissions you have to a Satisfy relationship are determined by the access permissions you have to the Value Type.
Trace (UML Standard profile) - the Trace relationship is owned jointly by the Value Type 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 Value Type and the associated Requirement. The access permissions you have to a Verify relationship are determined by the access permissions you have to the Value Type.
Shown on these diagrams
Block Definition 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).
Quantity Kind - lists the Value Type's quantity kind.
Unit - lists the Value Type's unit.