Public Member Functions | |
String | getDimension () |
String | getUnit () |
boolean | isSetDescription () |
boolean | isSetDimension () |
boolean | isSetUnit () |
void | setDescription (String value) |
void | setDimension (String value) |
void | setUnit (String value) |
void | unsetDescription () |
void | unsetDimension () |
void | unsetUnit () |
Package Functions | |
String | getDescription () |
ValueType (from Datatypes) {abstract}
Generalizations
EADatatype (from Datatypes)
Description
From SysML:
A ValueType defines types of values that may be used to express information about a system, but cannot be identified as the target of any reference. Since a value cannot be identified except by means of the value itself, each such value within a model is independent of any other, unless other forms of constraints are imposed. Value types may be used to type properties, operation parameters, or potentially other elements within SysML. SysML defines ValueType as a stereotype of UML DataType to establish a more neutral term for system values that may never be given a concrete data representation. For example, the SysML "Real" ValueType expresses the mathematical concept of a real number, but does not impose any restrictions on the precision or scale of a fixed or floating-point representation that expresses this concept. More specific value types can define the concrete data representations that a digital computer can process, such as conventional Float, Integer, or String types. SysML ValueType adds an ability to carry a unit of measurement or dimension associated with the value. A dimension is a kind of quantity that may be stated in terms of defined units, but does not restrict the selection of a unit to state the value. A unit is a particular value in terms of which a quantity of the same dimension may be expressed. A SysML ValueType may define its own properties and/or operations, just as for a UML DataType.
Attributes
description : String [0..1]
- Description of the datatype ValueType.
dimension : String [0..1]
- The (physical) quantity, e.g., "Speed", "Temperature".
unit : String [0..1]
- The unit of data. Example: For temperature the unit may be "degree Celsius".
Associations
No additional associations
Constraints
No additional constraints
Semantics
The abstract metaclass ValueType defines types of values that may be used to express information about a system. The ValueType adds an ability to carry a description, a dimension associated with the value, and a unit of measure. A dimension is a kind of quantity that may be stated in terms of defined units, but does not restrict the selection of a unit to state the value. A unit is a particular value in terms of which a quantity of the same dimension may be expressed.
Logical and physical datatypes cannot be distinguished on the type. The context (e.g., EnvironmentModel or FunctionalAnalysisArchitecture) decides if a speed datatype is physical or logical. On AnalysisLevel or DesignLevel, physical datatypes shall not be interpreted in the implementation sense as this would include int32, coding formula, etc.
abstract="true"
String de.fraunhofer.isst.eastadl.datatypes.ValueType.getDescription | ( | ) | [package] |
Returns the value of the 'Description' attribute.
description : String [0..1]
Description of the datatype ValueType.
Implemented in de.fraunhofer.isst.eastadl.datatypes.impl.ValueTypeImpl.
String de.fraunhofer.isst.eastadl.datatypes.ValueType.getDimension | ( | ) |
Returns the value of the 'Dimension' attribute.
dimension : String [0..1]
The (physical) quantity, e.g., "Speed", "Temperature".
Implemented in de.fraunhofer.isst.eastadl.datatypes.impl.ValueTypeImpl.
String de.fraunhofer.isst.eastadl.datatypes.ValueType.getUnit | ( | ) |
Returns the value of the 'Unit' reference.
unit : String [0..1]
The unit of data. Example: For temperature the unit may be "degree Celsius".
Implemented in de.fraunhofer.isst.eastadl.datatypes.impl.ValueTypeImpl.
boolean de.fraunhofer.isst.eastadl.datatypes.ValueType.isSetDescription | ( | ) |
Returns whether the value of the 'Description' attribute is set.
description : String [0..1]
Description of the datatype ValueType.
Implemented in de.fraunhofer.isst.eastadl.datatypes.impl.ValueTypeImpl.
boolean de.fraunhofer.isst.eastadl.datatypes.ValueType.isSetDimension | ( | ) |
Returns whether the value of the 'Dimension' attribute is set.
dimension : String [0..1]
The (physical) quantity, e.g., "Speed", "Temperature".
Implemented in de.fraunhofer.isst.eastadl.datatypes.impl.ValueTypeImpl.
boolean de.fraunhofer.isst.eastadl.datatypes.ValueType.isSetUnit | ( | ) |
Returns whether the value of the 'Unit' attribute is set.
unit : String [0..1]
The unit of data. Example: For temperature the unit may be "degree Celsius".
Implemented in de.fraunhofer.isst.eastadl.datatypes.impl.ValueTypeImpl.
void de.fraunhofer.isst.eastadl.datatypes.ValueType.setDescription | ( | String | value | ) |
Sets the value of the 'Description' attribute.
description : String [0..1]
Description of the datatype ValueType.
value | the new value of the 'Description' attribute. |
Implemented in de.fraunhofer.isst.eastadl.datatypes.impl.ValueTypeImpl.
void de.fraunhofer.isst.eastadl.datatypes.ValueType.setDimension | ( | String | value | ) |
Sets the value of the 'Dimension' attribute.
dimension : String [0..1]
The (physical) quantity, e.g., "Speed", "Temperature".
value | the new value of the 'Dimension' attribute. |
Implemented in de.fraunhofer.isst.eastadl.datatypes.impl.ValueTypeImpl.
void de.fraunhofer.isst.eastadl.datatypes.ValueType.setUnit | ( | String | value | ) |
Sets the value of the 'Unit' attribute.
unit : String [0..1]
The unit of data. Example: For temperature the unit may be "degree Celsius".
value | the new value of the 'Unit' attribute. |
Implemented in de.fraunhofer.isst.eastadl.datatypes.impl.ValueTypeImpl.
void de.fraunhofer.isst.eastadl.datatypes.ValueType.unsetDescription | ( | ) |
Unsets the value of the 'Description' attribute.
description : String [0..1]
Description of the datatype ValueType.
Implemented in de.fraunhofer.isst.eastadl.datatypes.impl.ValueTypeImpl.
void de.fraunhofer.isst.eastadl.datatypes.ValueType.unsetDimension | ( | ) |
Unsets the value of the 'Dimension' attribute.
dimension : String [0..1]
The (physical) quantity, e.g., "Speed", "Temperature".
Implemented in de.fraunhofer.isst.eastadl.datatypes.impl.ValueTypeImpl.
void de.fraunhofer.isst.eastadl.datatypes.ValueType.unsetUnit | ( | ) |
Unsets the value of the 'Unit' attribute.
unit : String [0..1]
The unit of data. Example: For temperature the unit may be "degree Celsius".
Implemented in de.fraunhofer.isst.eastadl.datatypes.impl.ValueTypeImpl.