Skip to content

class ModelConstant

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

Direct Known Subclasses:


class ModelConstant extends AConstant

Use model constant if value is model dependent. Value is calculated while generating.

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

Use value selector to specify constant value. Selector must return an integer literal.

LinkSelector[1..1]

Method Summary

evaluateValueSelector

@TypeFunctionSpace

Parameters:

Model

Return:

IntegerLiteral

getType

@FConvert

Return:

Type