Skip to content

Unit

getCommonCode

@FUnit

returns the common code of the default unit

Return:

StringLiteral

getFullName

@FUnit

returns the full name of the unit definition

Return:

ATextSource

getId

@FUnit

returns the unitId of th default unit

Return:

IntegerLiteral

getIdByPlatform

@FUnit

returns the resulting id (id of the custom unit defined by platform or the default unit)

Return:

IntegerLiteral

Parameters:

platformConfig : PlatformConfig

getName

@FUnit

returns the name of the default unit

Return:

StringLiteral

getNameByPlatform

@FUnit

returns the resulting name (name of the custom unit defined by platform or of the default unit)

Return:

StringLiteral

Parameters:

platformConfig : PlatformConfig

getNamespace

@FUnit

returns the namespace of the default unit

Return:

StringLiteral

getNamespaceByPlatform

@FUnit

returns the resulting namespace (namespace of the custom defined by platform unit or of the default unit)

Return:

StringLiteral

Parameters:

platformConfig : PlatformConfig