An SdgDef groups several SdgClasses which belong to the same extension. The concept of an SdgDef is similar to an UML Profile. An SdgClass specifies the name and structure of the Sdg that may be used to store proprietary data in an AUTOSAR model. The SdgClass is similar to an UML stereotype. The AUTOSAR model can be extended via Model Extensions (MEX) to support the type-safe editing of predefined AdminData.

Usually, it is not necessary to create SdgDefs yourself, since they are already contained in the BSW Package delivery of MICROSAR Adaptive. However, it is possible to create custom SdgDefs to your needs and edit them comfortably with the DaVinci Developer Adaptive.
Available Elements
Extension Definitions
- These are
SdgDefelements which define theextendsMetaClassattribute for a valid meta class of the AUTOSAR model (e.g.Executable).
Meta Class Definitions
- These are
SdgDefelements which do not define theextendsMetaClassattribute. - Can be used to define sub-classes in Extension Definitions.
Available Element Features
extendsMetaClass
- The AUTOSAR meta class that shall be extended by this
SdgClass.
attributes
- Describes the list of attributes of the meta class to extend.
descEN
- The description for this
SdgClass. - Descriptions can contain Markdown content which will be recognized by the DML.
- Note that other languages are available as well, English is the default.
- Note that this description will not override the description of the meta class to extend and is only used for information purposes.
caption
- Specifies if a caption is required.
- Note that only
SdgClassesthat have a caption can be referenced. - Note that this only has an effect for Meta Class Definitions.
Available Attributes
SdgPrimitiveAttribute
- Used to define a simple attribute for a
SdgDefelement (e.g. Integer, Boolean, String).
SdgAggregationWithVariation
- Used to define child relations like single childs and lists of sub classes defined by Meta Class Definitions.
SdgReference
- Used to define child relations like single childs and lists of references to other
SdgClasses.
SdgForeignReference
- Used to define child relations like single childs and lists of references to any AUTOSAR meta classes.
Available Attribute Features

All attribute feature definitions must start with a lower-case letter.
lowerMultiplicity
- Specifies the minimal number of times an object shall occur. If this primitive attribute is not set or 0, then the object is optional.
upperMultiplicity
- Specifies the maximum number of times an object may occur. If this primitive attribute is not set, then there is no limit with respect to the maximum occurrence. For an unspecified amount please use
upperMultiplicityInfiniteinstead.
upperMultiplicityInfinite
- This explicitly specifies, that the upper multiplicity is not restricted.
- Note that the use of
upperMultiplicityInfiniteandupperMultiplicityis mutually exclusive.
max
- Specifies the upper bounds for numeric values.
min
- Specifies the lower bounds for numeric values.
maxLength
- Specifies the maximum number of characters of textual values.
minLength
- Specifies the minimum number of characters of textual values.
category
- The category is a keyword that specializes the semantics of the Identifiable. It affects the expected existence of attributes and the applicability of constraints. Defines the type of a
SdgPrimitiveAttribute. The following types are available: - INTEGER
- FLOAT
- STRING
- BOOLEAN
- ENUMERATION (enumeration values need to be defined in
AdminData, see example) - AUTOSAR (cannot be used to represent an actual type, but to add a constraint for an existing AUTOSAR model attribute)
subSdg
- Specifies the child
SdgClassof aSdgAggregationWithVariation.
destSdg
- Specifies the destination
SdgClassof aSdgReference.
destMetaClass
- Specifies the destination meta class of a
SdgForeignReference.
descEN
- The description for this Attribute Feature.
- Descriptions can contain Markdown content which will be recognized by the DML.
- Note that other languages are available as well, English is the default.
variation
- Defines that the maximum amount of attribute values is not bound to a specific number.