Skip to content

class Command

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

Direct Known Subclasses:


class Command extends NamedResource, AnnotableComment, ATextSourceProperty, AResourceWithType

Commands are typically used to trigger transitions between states. Each controller has a command interface through which actions can be triggered on the controller. Commands are defined globally. However, a controller only knows the commands to which it should respond. The parent-child relationship in the controller tree automatically establishes a command channel for top-down commands.

Properties

commandConstant

IntegerLiteral[1..1]

A literal which accepts 32-bit integral number values.

comment

Describes the intent of this Resource.

TextLiteral[0..1]

A Literal that accepts multiple lines of text.

comment

StringLiteral[0..1]

description

ATextSource[0..1]

fullName

ATextSource[0..1]

name

The name of this Resource.

StringLiteral[1..1]

textList

NativeTextList[0..N]

The NativeTextList is the basic container for text resources. Native texts are the texts that are assigned to the various elements in the application at the time of development.
Typically, such texts are unedited and are not used to be displayed on an HMI or similar.
The texts entered here will be the basis for later translations.

textSource

Contains the full name of the message. Normally used for display on the HMI.

ATextSource[0..N]

Method Summary

accept

@FCodeSnippet

Parameters:

ValidatableTypeVisitorLiteral

Return:

Void

getName

@FName

getTextLists

@TextFunctionSpace

Returns TextList definition dependent of scope.

Return:

List<NativeTextList>