Bundt Scripting Reference
·
Bundt Scripting Language version 1.0.1.0
Cardinality
format
Cardinality is expressed in terms of positive integer numbers, including 0.
For example, a cardinality of 1 indicates that only one item of the associated kind may exist.
An asterisk * is employed to indicate an indeterminate number.
Syntax
Number
FromNumber..ToNumber
Element |
Type |
Notes |
Number |
Unsigned integer |
Specifies the single cardinality, as an integer or an * character.
|
FromNumber |
Unsigned integer |
Specifies the lower end of the cardinality range, as an integer or an * character.
|
ToNumber |
Unsigned integer |
Specifies the higher end of the cardinality range, as an integer or an * character.
|
Examples
Intent |
Code |
Create a new attribute in the context class |
create attribute Address: 1..* Text; |
See Also
Contents distributed under a Creative Commons Attribution 4.0 International License
·
About
·
Terms of Use
·
Contact Us
·
last updated on 08 October 2020