Extending product function with VBA > The System Architect object model > Object model classes > Symbol class > Symbol class: Attributes > ToCardinality
  
ToCardinality
For relationship lines in an Entity Relation diagram or constraints on a Physical Data Model the cardinality at the to end can be determined and set using this property.
The constants that are set or returned are as follows:
Constant
Number
Meaning
CARDINALITYMULT
0
Many
CARDINALITYNOTUSED
1
No Cardinality
CARDINALITYONEMULT
2
One or Many
CARDINALITYONLYONE
3
Only One
CARDINALITYUNKNOWN
4
Not Marked
CARDINALITYZERO
5
Zero
CARDINALITYZEROONE
6
Zero or One
CARDINALITYZEROONEMULT
7
Zero, One or Multiple
See also
Symbol class: Attributes