Skip to content

class AControllerMethod

Package: swiss.avm.up.core.generic.specification.interface_local.javamodel.AControllerMethod

Direct Known Subclasses: ControllerMethodCodesnippet


abstract class AControllerMethod extends NamedResource, AnnotableComment, AOoOverride, APrefixedResource

A ControllerMethod is a named, reusable, typed method on a controller, defined in its InterfaceLocal. It factors shared guard or helper logic out of inline code snippets so it can be called from transition guards and from state code. AControllerMethod is the abstract base; the concrete form carries a C-Minus body.

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]

override

override existing base function

Resource[0..1]

The base class of any Resource in the system.

override

AControllerMethod[0..1]

A ControllerMethod is a named, reusable, typed method on a controller, defined
in its InterfaceLocal. It factors shared guard or helper logic out of inline
code snippets so it can be called from transition guards and from state code.
AControllerMethod is the abstract base; the concrete form carries a C-Minus
body.

Method Summary

controllerMethodParameter

@CodeSnippetExtension

Parameters:

Model
NameProvider
IncrementLiteral_DiagramUtil
ACallingBaseElement
PlatformType
FunctionCall
Controller

getMessageParameter

@CodeSnippetExtension

Parameters:

PlatformType

getOverwriteableObjects

@FCodeSnippetExt

Return:

List<AControllerMethod>