Skip to content

class AInterfaceData

Package: swiss.avm.up.core.generic.specification.interface_declaration.javamodel.AInterfaceData

Direct Known Subclasses: InterfaceData


abstract class AInterfaceData extends InterfaceArrayVariable

This abstract interface data class is only used for backward compatibility of deprecated Recipe, Parameter, Current, Config classes. It will be removed in future.

Properties

arrayIndex

ArrayIndex[0..N]

arrayIndex

ArrayIndex[0..N]

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

createIdNameStringLiteral

Return:

IdNameStringLiteral

filterUnsupportedItems

@ServiceUiFunctions

Filters unsupported items like: DT, DATE_AND_TIME, ModelType, Multidimensional array

Return:

List<AInterfaceData>

getArrayIndex

@FControllerInterface

Returns arrayIndex under considering string types

Return:

IntegerLiteral

getArrayIndexList

@FControllerInterface

Returns list of 0 to array index or an empty string if not an array type. Like getArrayVariableName without simple name.

Return:

List<StringLiteral>

getArrayVariableName

@FControllerInterface

returns the variable name including array index within brackets

Return:

List<StringLiteral>

getComment

@FComments

getDataGroup

@InterfaceDeclarationExtension

Return:

CustomDataGroup

getDataSpecification

@FControllerInterface

Get data specification for given controller and interface data.

Parameters:

Controller

Return:

DataSpecification

getDecoration

@FAInterfaceData

Returns the decorations of an interface variable.

Parameters:

TypePathLiteral
ControllerInstanceWrapper

Return:

InterfaceDataDecorationWrapper

getDefaultControllerInitValue

@ConfigFunctionSpace

Parameters:

Controller

Return:

List<AbstractValue>

getStructureToken

@InterfaceDeclarationExtension

Return:

StringLiteral

ifaceDataHasArray

@BrControllerTreeFunctionSpace

Return:

BooleanLiteral

internal_getDataSpecifications

@FControllerInterface

Internal helper Function to get all controller specific data specifications .

Return:

List<DataSpecification>

isOmittedFromFieldbus

@FAInterfaceData

Returns true, if the variable is omitted from fieldbus.

Parameters:

Controller

Return:

BooleanLiteral

toFieldLiteral

Return:

FieldLiteral

toXml_OpcUA_Template_V3

variableName

@VariableName