Description of the method
|Description:||This method appends one String to the end of another. The method returns a String with the value of the String passed in to the method appended to the end of the String used to invoke this method.|
|OCL:||self.Debtor.Name.concat(self.Creditor.Name) = self.Id|
|Description:||This rule takes debtor name and concatenates it with creditor name, and then verifies that Id contains the concatenated string|
The XML snippets below would pass this check.
The other snippet below however would not pass this check.