RangeableValueType : public class
Created: |
2010-02-10 09:40:10 |
Modified: |
2010-04-29 14:44:32 |
|
Project: |
|
Author: |
|
Version: |
1.0 |
Phase: |
1.0 |
Status: |
Proposed |
Complexity: |
Easy |
Advanced: |
|
UUID: |
{F91A2609-CAE8-45ee-B554-475516D6AA50} |
Appears In: |
Datatypes |
<p>The RangeableValueType is a specific ValueType applicable for RangeableDatatypes. It describes the accuracy, resolution, and the significant digits of the baseRangeable datatypes.<br/></p><p><br/></p><p>Semantics:<br/></p><p>The RangeableValueType adds the ability to describe the accuracy, resolution, and the significant digits of the baseRangeable datatype.<br/></p><p><br/></p><p>Notation:<br/></p><p>The datatype RangeableValueType is denoted using the rectangle symbol with keyword «Datatype RangeableValueType».<br/></p><p><br/></p><p>Extension: UML Datatype, SysML ValueType<br/></p>
- Attributes
- Associations To
- Other Links
Attribute |
Details |
public Float accuracy |
Notes:
|
The accuracy of the data (e.g., the FunctionFlowports input or output).<br /><br />Example: An accuracy of 0.5 of the temperature means a communicated value of 19 represents an actual temperature of 19 +/- 0.5 degrees.
|
|
public Float resolution |
Notes:
|
The resolution of the data expressed as the size of the minimum difference between data values. <br /><br />Example: A resolution of 0.1 means that temperature may be represented in increments of 0.1 degrees.
|
|
public int significantDigits |
Range:0 to 1
Notes:
|
The number of significant digits, e.g., for the speed case: if the speed is a one digit number (e.g., 5 km/h), then this digit is significant, if the speed is a two digits number (e.g., 15 km/h), then the first digit is significant (here: 1), if the speed is a three digits number (e.g., 215 km/h), then the first two digits are significant (here: 21). Significant means here, that the respective digits are reliable.
|
|
Element |
Source Role |
Target Role |
Details |
RangeableDatatype
Class
|
Name:
|
Name: baseRangeable
The RangeableDatatype that the RangeableValueType points to.
|
|
Object |
Type |
Connection |
Notes |
ValueType |
Class |
Generalization |
|