OTX Reference  
OpenTestSystem.Otx.Extensions.DataType.Terms.StructureLiteral Class Reference

StructureLiteral is a StructureTerm More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DataType.Terms.StructureLiteral:
Inheritance graph

Public Attributes

StructureElements structureElements
 Cardinality [0..1]
This element shall be used to assign structureElements values. If <structureElements> is omitted, all elements of the structure will be set to the init values of the signature declaration. More...
 
OtxLink structureType
 Cardinality [1]
Refers to a certain StructureSignature. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Cardinality [0..1]
The MetaData type allows tools to store additional, mainly tool-specific data. More...
 

Detailed Description

StructureLiteral is a StructureTerm

This term shall be used to create a Structure based on hard-coded literals of all its elements. Elements can be omitted freely.In this case the omitted element will initialized with the init value inside the structure signature.The data type of the used elements shall have an init value otherwise it cannot be used and shall be omitted.

Checker rules
Core.CheckerRule.Core_Chk053 – No dangling OtxLink associations
CheckerRule.DataType_Chk007 – Unique name for structure element
CheckerRule.DataType_Chk008 – Correct target for structure element
CheckerRule.DataType_Chk009StructureLiteral element values are literal terms
CheckerRule.DataType_Chk010StructureLiteral and StructureCreate element value data types follow element data type definition of structure signature

Member Data Documentation

◆ structureElements

StructureElements OpenTestSystem.Otx.Extensions.DataType.Terms.StructureLiteral.structureElements

Cardinality [0..1]
This element shall be used to assign structureElements values. If <structureElements> is omitted, all elements of the structure will be set to the init values of the signature declaration.

◆ structureType

OtxLink OpenTestSystem.Otx.Extensions.DataType.Terms.StructureLiteral.structureType

Cardinality [1]
Refers to a certain StructureSignature.