->size()
Table of contents
Description of the method
Description: |
|
Available for: | base64binary, boolean, datetime, double/decimal, date, hexBinary, integer, string, double/decimal and integer |
Parameters: | - |
Return type: | integer |
Example1
Context: | TransactionType1 |
OCL: | self.Creditor.Name->size() = 1 |
Description: | The example rule mandates the usage of both Creditor Name. I.e. the size of occurrence number of element Creditor / Name has to be 1. |
The XML snippet below would pass this check.
<Transaction> |
The other snippet below however would not pass
<Transaction> |