Redirected from User Guides/myXML/User guide for OCL rules in XMLdation environment/Available methods for OCL base types/->size()->size()
Description of the method
|Available for:|| |
base64binary, boolean, datetime, double/decimal, date, hexBinary, integer, string, double/decimal and integer
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.
The other snippet below however would not pass