The element stereotype from the COBOL profile is set on the attributes of the class.
| Stereotype | Property | Primitive Type Result | Usage (Element stereotype) |
|---|---|---|---|
| String | maxLength | X(maxLength) | display |
| Integer | digits, sign | 9 (digits) or S9(digits) if digits <
18 X (digits) or X (digits + 1) if digits > 18 |
display |
| Float | digits, sign, decimals | S9(digits)V(decimals) or (digits)V(decimals) | comp-3 |
| displayName | X (length of displayName) | display | |
| Currency | digits, sign, decimals | S9(digits)V(decimals) or (digits)V(decimals) | display |
| Boolean | display | ||
| Date | display |