ApplicationDataType

XML tag

Module

autosar.datatype

Inherits

autosar.element.Element

Base class for AUTOSAR application data types. Types that derive from this class are:

Attributes

For inherited attributes see autosar.element.Element.

Name

Type | Description

variantProps

list of SwDataDefPropsConditional

List of properties

Properties

Name

Type

Access Type

compuMethodRef

str

Get

dataConstraintRef

str

Get

unitRef

str

Get

compuMethodRef

Returns the CompuMethod reference from the first item of the variantProps list. Raises Runtime error if variantProps list is empty.

dataConstraintRef

Returns the DataConstraint reference from the first item of the variantProps list. Raises Runtime error if variantProps list is empty.

unitRef

Returns the Unit reference from the first item of the variantProps list. Raises Runtime error if variantProps list is empty.