Skip to content

class Variable

Package: swiss.avm.up.core.generic.type.javamodel.Variable

Direct Known Subclasses: Simulation, DataTypeIoType, CommonVariable, BaseArrayVariable, PassThroughParameter


abstract class Variable extends NamedResource, AnnotableComment, BaseDataVariable, APrefixedResource

Properties

comment

Describes the intent of this Resource.

TextLiteral[0..1]

A Literal that accepts multiple lines of text.

name

The name of this Resource.

StringLiteral[1..1]

type

Type[1..1]

type

Type[1..1]

Method Summary

extendedName

@TemplateNameFunctions

extendedNameWithGroup

@TemplateNameFunctions

extendedNameWithStructure

@TemplateNameFunctions

extendedName_woType

@TemplateNameFunctions

getArrayIndexIndices

@FTemplateFunctions

getLeafType

@FVariable

Parameters:

TypePathLiteral

Return:

Type

getPaths

@FVariable

Returns a list of all paths of the used type including the basis array index.

Return:

List<TypePathLiteral>

getRealDefaultInitValueSpezific

@ConfigFunctionSpace

Parameters:

ControllerInstanceWrapper
BaseInstanceConfig

Return:

List<AbstractValue>

indexOf_StartValue1

Parameters:

Controller

Return:

IntegerLiteral

internal_getRealDefaultInitValue

@ConfigFunctionSpace

Parameters:

Controller
ControllerInstanceArrayIndex
BaseInstanceConfig

Return:

List<AbstractValue>

toPathString

@FVariable

Returns the variable name including the full path.

Parameters:

TypePathLiteral

Return:

StringLiteral