Skip to content

class ClassType

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

Direct Known Subclasses:


class ClassType extends AOoExtendable, ACallingBaseElement, AStructureType

The ClassType enables the implementation of object oriented patterns in the application. This type can be used for both local controller variables and variables in the interfaces of a controller. A ClassType instance can extend an existing ClassType instance.

Properties

comment

TextLiteral[0..1]

A Literal that accepts multiple lines of text.

extends

Resource[0..N]

The base class of any Resource in the system.

extends

ClassType[0..1]

The ClassType enables the implementation of object oriented patterns in the application.
This type can be used for both local controller variables and variables in the interfaces of a controller.
A ClassType instance can extend an existing ClassType instance.

member

A Member is a protected field of a ClassType

FieldComplexMember[0..N]

method

A method is a block of code which only runs when it is called.

You can pass data, known as parameters, into a method.

MethodModel[0..N]

name

The name of this Resource.

StringLiteral[1..1]

Method Summary

_getAllClassVariables

Return:

List<FieldLiteral>

accept

@FCodeSnippet

Parameters:

ValidatableTypeVisitorLiteral

Return:

Void

className

@TemplateNameFunctions

class name at PLC

functionName

@TemplateNameFunctions

class name at PLC

Parameters:

MethodModel

getExtendableObjects

@FDatatypeLibrary

Return:

List<ClassType>

getExtensions

@FDatatypeLibrary

get all extended objects

Return:

List<ClassType>

getGetters

@FDatatypeLibrary

Return:

List<MemberProperty>

getMembers

@FDatatypeLibrary

Get this and members from extended class flat.

Return:

List<FieldComplexMember>

getMethods

@FDatatypeLibrary

Return:

List<MethodModel>

getSetters

@FDatatypeLibrary

Return:

List<MemberProperty>

getSupportedMethods

@ServiceUiFunctions

Returns list of all supported methods.

Return:

List<MethodModel>

getThisAndExtensions

@FDatatypeLibrary

get this and all extended objects

Return:

List<ClassType>

getThisMembers

@FDatatypeLibrary

Like getMembers, but only members from this class without extended members.

Return:

List<FieldComplexMember>

objectName

@TemplateNameFunctions

class name at PLC