Skip to content

class ModelTypeValue

Package: swiss.avm.up.core.generic.type.modeltype.javamodel.ModelTypeValue

Direct Known Subclasses:


class ModelTypeValue extends NamedResource, AnnotableComment, ValidatableType

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]

Method Summary

accept

@FCodeSnippet

Parameters:

ValidatableTypeVisitorLiteral

Return:

Void

getComment

@FComments

getPlatformSpecificConstantValue

@FDatatypeLibrary

returns the defined constValue in the PlatfromAdapter

Parameters:

PlatformType

Return:

AConstant

getPlatformSpecificEnumValue

@FDatatypeLibrary

returns the defined enumValue in the PlatfromAdapter

Parameters:

PlatformType

Return:

EnumValue

getPlatformSpecificType

@FDatatypeLibrary

returns the defined type in the PlatfromAdapter

Parameters:

PlatformType

Return:

Type

getTypeName

@FDatatypeLibrary

return name of type

Parameters:

PlatformType

Return:

StringLiteral

getValue

@FDatatypeLibrary

return integer value

Parameters:

PlatformType

Return:

IntegerLiteral

toMetaName

Transformation to MQTT/messages.json meta definition.

Return:

StringLiteral