class Type
Package: ch.actifsource.solution.datatype.generic.datatype.javamodel.Type
Direct Known Subclasses: StandardType, UserType, Complex, ArrayType, EnumType, Type
abstract class Type extends NamedResource, Comment
Properties
comment
TextLiteral[0..1]
A Literal that accepts multiple lines of text.
name
The name of this Resource.
StringLiteral[1..1]
Method Summary
code
@ExpressionC
code
@ExpressionST
code
@ExpressionAspectName
containsUnsupportedItems
@ServiceUiFunctions
Returns true if unsupported items part of type (DT, DATE_AND_TIME, ModelType, Multidimensional array), returns false if not.
Return:
BooleanLiteral
createPathLiteral
@TemplateFunction
Return:
TypePathLiteral
createTypeDeclaration
@ServiceUiFunctions
generateType
@DatatypeFunctions
Return true if the generate library attribute is true.
Return:
BooleanLiteral
getFields
@FDatatypeLibrary
Return:
List<FieldComplex>
getPath
@TemplateFunction
Return:
List<TypePathLiteral>
getStringDef
@FTemplateFunctions
Parameters:
PlatformType
ArrayIndex
Field
getStringDefFunctionLocalVariable
@FTemplateFunctions
Parameters:
PlatformType
FunctionLocalVariable
isClassType
@ServiceUiFunctions
Return:
BooleanLiteral
isStringOrWString
@TypeFunctionSpace
Returns true if STRING or WSTRING or null
Return:
BooleanLiteral
isStringType
@TypeFunctionSpace
Returns true if STRING or null
Return:
BooleanLiteral
isWStringType
@TypeFunctionSpace
Returns true if WSTRING or null
Return:
BooleanLiteral
postTypeToken
@TemplateNameFunctions
preTypeToken
@TemplateNameFunctions
toCodeForCast_ST
@FGenericCodeSnippetExtension
Parameters:
PlatformType
toCode_C
@TypeFunction
toCode_Java
@TemplateFunction
toCode_S7Tia_ST
@FTemplateFunctions
toCode_S7Tia_XML
@FTemplateFunctions
toCode_ST
@TypeFunction
toCode_ST
@TemplateFunction
Parameters:
PlatformType
tokenName
@TemplateNameFunctions
typeToken
@TemplateNameFunctions