Skip to content

class Constant

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

Direct Known Subclasses: StringConstant


class Constant extends AConstant, ValidatableType, IndexValue

Definition of a PLC constant. Standard type of constant for all numerical constants.

Properties

comment

TextLiteral[0..1]

A Literal that accepts multiple lines of text.

name

The name of this Resource.

StringLiteral[1..1]

type

StandardType[1..1]

value

Init value

StringLiteral[1..1]

Method Summary

accept

@FCodeSnippet

Parameters:

ValidatableTypeVisitorLiteral

Return:

Void

getType

@FConvert

Return:

Type