Skip to content

class Field

Package: ch.actifsource.solution.datatype.generic.datatype.javamodel.Field

Direct Known Subclasses: FieldComplex, MainDataVariable, BaseDataVariable


abstract class Field extends Resource

Properties

type

Type[1..1]

Method Summary

addLeafType

Adds leaf type of field to type path literal. But only if IAInterface data is not a standard type (leaf itself).

Parameters:

TypePathLiteral

Return:

TypePathLiteral

containsUnsupportedItems

Returns true if unsupported items part of structure (DT, DATE_AND_TIME, ModelType, Multidimensional array), returns null if not.

Return:

BooleanLiteral

createMetaDefinition

Parameters:

Controller
AInterfaceData
TypePathLiteral

getLibrary

@DatatypeFunctions

Return:

Library

getMetaDefinition

@FControllerInterface

Calls getMetaDefinition from FControllerInterface but as java function to call it with unit = null too

Parameters:

Controller
AInterfaceData
TypePathLiteral

Return:

Unit

getMetaFactor

@FControllerInterface

Parameters:

Controller
AInterfaceData
TypePathLiteral

Return:

BaseValue

getMetaInvisible

@FControllerInterface

Parameters:

Controller
AInterfaceData
TypePathLiteral

Return:

BooleanLiteral

getMetaPrecision

@FControllerInterface

Parameters:

Controller
AInterfaceData
TypePathLiteral

Return:

BaseValue

getMetaReadOnly

@FControllerInterface

Parameters:

Controller
AInterfaceData
TypePathLiteral

Return:

BooleanLiteral

getMetaUserLevel

@FControllerInterface

Parameters:

Controller
AInterfaceData
TypePathLiteral

Return:

IntegerLiteral

getPath

@TemplateFunction

Parameters:

RecordType

Return:

List<Field>

getPrivateField

@StatemachineFunction

Return:

PrivateVariableField

getPublicField

@StatemachineFunction

Return:

PublicVariableField

getVariableName

@StatemachineFunction

nextFields

@TemplateFunction

Return:

List<Field>

toTypeDefinitionCode_BR

@FTemplateFunctions

Inject Plattform B&R resource only and use toTypeDefinitionCode_ST

toTypeDefinitionCode_S7Tia_XML

@FTemplateFunctions

toTypeDefinitionCode_ST

@FTemplateFunctions

Parameters:

PlatformType