Skip to content

Metamodel datatype

Philippe DUL edited this page Mar 1, 2023 · 5 revisions

datatype

sub-package containing the definition of the predefined data types

DataType

A data type is a type whose instances are identified only by their value. A DataType may contain attributes to support the modeling of structured data types [source: UML superstructure v2.2]

Common Types: AbstractNamedElement, ModelElement, Namespace, NamedElement, CapellaElement, TraceableElement, PublishableElement

Known Sub Types: BooleanType, Enumeration, StringType, NumericType, PhysicalQuantity

Specific fields

Attribute Type Range Description
discrete EBoolean 0..1
maxInclusive EBoolean 0..1
minInclusive EBoolean 0..1
pattern EString 0..1
visibility VisibilityKind 0..1
Reference Type Range Description
defaultValue DataValue 0..1
nullValue DataValue 0..1 [](#nullvalue "allows to specify the nature/value of the "null" value for this type of data")
ownedInformationRealizations InformationRealization 0..*
realizedDataTypes DataType 0..*
realizingDataTypes DataType 0..*

Inherited fields (from GeneralizableElement, Type, AbstractType, DataValueContainer, Structure, FinalizableElement)

Attribute Type Range Description
abstract EBoolean 0..1
final EBoolean 0..1
Reference Type Range Description
abstractTypedElements AbstractTypedElement 0..*
ownedDataValues DataValue 0..*
ownedGeneralizations Generalization 0..*
ownedPropertyValuePkgs PropertyValuePkg 0..*
sub GeneralizableElement 0..*
subGeneralizations Generalization 0..*
super GeneralizableElement 0..*
superGeneralizations Generalization 0..*
typedElements TypedElement 0..*

BooleanType

A boolean is an instance of PrimitiveType. In the metamodel, Boolean defines an enumeration that denotes a logical condition. Its enumeration literals are:

  • true - The Boolean condition is satisfied.
  • false - The Boolean condition is not satisfied [source: UML superstructure v2.2]

Common Types: AbstractNamedElement, ModelElement, Namespace, NamedElement, CapellaElement, TraceableElement, PublishableElement

Specific fields

Reference Type Range Description
ownedDefaultValue AbstractBooleanValue 0..1
ownedLiterals LiteralBooleanValue 0..2

Inherited fields (from DataType, GeneralizableElement, Type, AbstractType, DataValueContainer, Structure, FinalizableElement)

Attribute Type Range Description
abstract EBoolean 0..1
discrete EBoolean 0..1
final EBoolean 0..1
maxInclusive EBoolean 0..1
minInclusive EBoolean 0..1
pattern EString 0..1
visibility VisibilityKind 0..1
Reference Type Range Description
abstractTypedElements AbstractTypedElement 0..*
defaultValue DataValue 0..1
nullValue DataValue 0..1 [](#nullvalue "allows to specify the nature/value of the "null" value for this type of data")
ownedDataValues DataValue 0..*
ownedGeneralizations Generalization 0..*
ownedInformationRealizations InformationRealization 0..*
ownedPropertyValuePkgs PropertyValuePkg 0..*
realizedDataTypes DataType 0..*
realizingDataTypes DataType 0..*
sub GeneralizableElement 0..*
subGeneralizations Generalization 0..*
super GeneralizableElement 0..*
superGeneralizations Generalization 0..*
typedElements TypedElement 0..*

Enumeration

An enumeration is a kind of data type, whose instances may be any of a number of user-defined enumeration literals [source: UML superstructure v2.2]

Common Types: AbstractNamedElement, ModelElement, Namespace, NamedElement, CapellaElement, TraceableElement, PublishableElement

Specific fields

Reference Type Range Description
domainType DataType 0..1
ownedDefaultValue AbstractEnumerationValue 0..1
ownedLiterals EnumerationLiteral 0..*
ownedMaxValue AbstractEnumerationValue 0..1
ownedMinValue AbstractEnumerationValue 0..1
ownedNullValue AbstractEnumerationValue 0..1

Inherited fields (from DataType, GeneralizableElement, Type, AbstractType, DataValueContainer, Structure, FinalizableElement)

Attribute Type Range Description
abstract EBoolean 0..1
discrete EBoolean 0..1
final EBoolean 0..1
maxInclusive EBoolean 0..1
minInclusive EBoolean 0..1
pattern EString 0..1
visibility VisibilityKind 0..1
Reference Type Range Description
abstractTypedElements AbstractTypedElement 0..*
defaultValue DataValue 0..1
nullValue DataValue 0..1 [](#nullvalue "allows to specify the nature/value of the "null" value for this type of data")
ownedDataValues DataValue 0..*
ownedGeneralizations Generalization 0..*
ownedInformationRealizations InformationRealization 0..*
ownedPropertyValuePkgs PropertyValuePkg 0..*
realizedDataTypes DataType 0..*
realizingDataTypes DataType 0..*
sub GeneralizableElement 0..*
subGeneralizations Generalization 0..*
super GeneralizableElement 0..*
superGeneralizations Generalization 0..*
typedElements TypedElement 0..*

StringType

A string is a sequence of characters in some suitable character set used to display information about the model [source: UML superstructure v2.2]

Common Types: AbstractNamedElement, ModelElement, Namespace, NamedElement, CapellaElement, TraceableElement, PublishableElement

Specific fields

Reference Type Range Description
ownedDefaultValue AbstractStringValue 0..1
ownedMaxLength NumericValue 0..1
ownedMinLength NumericValue 0..1
ownedNullValue AbstractStringValue 0..1

Inherited fields (from DataType, GeneralizableElement, Type, AbstractType, DataValueContainer, Structure, FinalizableElement)

Attribute Type Range Description
abstract EBoolean 0..1
discrete EBoolean 0..1
final EBoolean 0..1
maxInclusive EBoolean 0..1
minInclusive EBoolean 0..1
pattern EString 0..1
visibility VisibilityKind 0..1
Reference Type Range Description
abstractTypedElements AbstractTypedElement 0..*
defaultValue DataValue 0..1
nullValue DataValue 0..1 [](#nullvalue "allows to specify the nature/value of the "null" value for this type of data")
ownedDataValues DataValue 0..*
ownedGeneralizations Generalization 0..*
ownedInformationRealizations InformationRealization 0..*
ownedPropertyValuePkgs PropertyValuePkg 0..*
realizedDataTypes DataType 0..*
realizingDataTypes DataType 0..*
sub GeneralizableElement 0..*
subGeneralizations Generalization 0..*
super GeneralizableElement 0..*
superGeneralizations Generalization 0..*
typedElements TypedElement 0..*

NumericType

Characterizes a value that can be expressed by a sequence of numbers

Common Types: AbstractNamedElement, ModelElement, Namespace, NamedElement, CapellaElement, TraceableElement, PublishableElement

Known Sub Types: PhysicalQuantity

Specific fields

Attribute Type Range Description
kind NumericTypeKind 0..1
Reference Type Range Description
ownedDefaultValue NumericValue 0..1
ownedMaxValue NumericValue 0..1
ownedMinValue NumericValue 0..1
ownedNullValue NumericValue 0..1

Inherited fields (from DataType, GeneralizableElement, Type, AbstractType, DataValueContainer, Structure, FinalizableElement)

Attribute Type Range Description
abstract EBoolean 0..1
discrete EBoolean 0..1
final EBoolean 0..1
maxInclusive EBoolean 0..1
minInclusive EBoolean 0..1
pattern EString 0..1
visibility VisibilityKind 0..1
Reference Type Range Description
abstractTypedElements AbstractTypedElement 0..*
defaultValue DataValue 0..1
nullValue DataValue 0..1 [](#nullvalue "allows to specify the nature/value of the "null" value for this type of data")
ownedDataValues DataValue 0..*
ownedGeneralizations Generalization 0..*
ownedInformationRealizations InformationRealization 0..*
ownedPropertyValuePkgs PropertyValuePkg 0..*
realizedDataTypes DataType 0..*
realizingDataTypes DataType 0..*
sub GeneralizableElement 0..*
subGeneralizations Generalization 0..*
super GeneralizableElement 0..*
superGeneralizations Generalization 0..*
typedElements TypedElement 0..*

PhysicalQuantity

A Physical Quantity is a measurable value of a physical property of a thing or a movement. It referes to a Unit.

A Dimension (SysML notion of Physical Quantity) is a kind of quantity that may be stated by means of defined units. For example, the dimension of length may be measured by units of meters, kilometers, or feet [source: SysML specification v1.1]

Common Types: AbstractNamedElement, ModelElement, Namespace, NamedElement, CapellaElement, TraceableElement, PublishableElement

Specific fields

Reference Type Range Description
unit Unit 0..1

Inherited fields (from NumericType, DataType, GeneralizableElement, Type, AbstractType, DataValueContainer, Structure, FinalizableElement)

Attribute Type Range Description
abstract EBoolean 0..1
discrete EBoolean 0..1
final EBoolean 0..1
kind NumericTypeKind 0..1
maxInclusive EBoolean 0..1
minInclusive EBoolean 0..1
pattern EString 0..1
visibility VisibilityKind 0..1
Reference Type Range Description
abstractTypedElements AbstractTypedElement 0..*
defaultValue DataValue 0..1
nullValue DataValue 0..1 [](#nullvalue "allows to specify the nature/value of the "null" value for this type of data")
ownedDataValues DataValue 0..*
ownedDefaultValue NumericValue 0..1
ownedGeneralizations Generalization 0..*
ownedInformationRealizations InformationRealization 0..*
ownedMaxValue NumericValue 0..1
ownedMinValue NumericValue 0..1
ownedNullValue NumericValue 0..1
ownedPropertyValuePkgs PropertyValuePkg 0..*
realizedDataTypes DataType 0..*
realizingDataTypes DataType 0..*
sub GeneralizableElement 0..*
subGeneralizations Generalization 0..*
super GeneralizableElement 0..*
superGeneralizations Generalization 0..*
typedElements TypedElement 0..*

NumericTypeKind

Specifies the kind of this numeric data type

Common Types:

Attribute Description
FLOAT
INTEGER

Clone this wiki locally